Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012421Openbravo ERPA. Platformpublic2010-02-23 17:142010-03-13 00:00
plujan 
marvintm 
urgentmajorhave not tried
closedfixed 
5
main 
2.50MP14 
Core
No
0012421: If apply.module task throw an error the rebuild is not stopped
I had an error while installing a module in the apply.module task. This error do not stopped the rebuild, so I got an error message only after Deploy tasks.
Error is:
apply.module:
[sql] Executing commands
[sql] 2 of 2 SQL statements executed successfully
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/openbravo/erpCommon/modules/ApplyModuleTask
[java] Caused by: java.lang.ClassNotFoundException: org.openbravo.erpCommon.modules.ApplyModuleTask
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
[java] Could not find the main class: org.openbravo.erpCommon.modules.ApplyModuleTask. Program will exit.
[java] Java Result: 1
1. Get an Openbravo context with some classes not compiled. This can happen if when uninstalling a module, application hangs.
2. Install a module. Since some classes are not compiled, apply.module will throw above error
No tags attached.
Issue History
2010-02-23 17:14plujanNew Issue
2010-02-23 17:14plujanAssigned To => marvintm
2010-02-23 17:15plujanStatusnew => scheduled
2010-02-23 17:15plujanfix_in_branch => pi
2010-02-25 17:40hgbotCheckin
2010-02-25 17:40hgbotNote Added: 0024826
2010-02-25 17:40hgbotStatusscheduled => resolved
2010-02-25 17:40hgbotResolutionopen => fixed
2010-02-25 17:40hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/45df2e899eb368359ccb7b7d8064acc0ab709f7a [^]
2010-03-12 16:18alostaleStatusresolved => closed
2010-03-12 16:18alostaleFixed in Version => 2.50MP14
2010-03-12 22:39hudsonbotCheckin
2010-03-12 22:39hudsonbotNote Added: 0025325
2010-03-13 00:00anonymoussf_bug_id0 => 2969670

Notes
(0024826)
hgbot   
2010-02-25 17:40   
Repository: erp/devel/pi
Changeset: 45df2e899eb368359ccb7b7d8064acc0ab709f7a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Feb 25 17:22:26 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/45df2e899eb368359ccb7b7d8064acc0ab709f7a [^]

Fixed issue 12421. Rebuild will stop if apply.module fails.

---
M build.xml
---
(0025325)
hudsonbot   
2010-03-12 22:39   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/45df2e899eb3 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]