Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012421
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2010-02-23 17:142010-03-13 00:00
ReporterplujanView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version2.50MP14
StatusclosedFix in branchpiFixed in SCM revision45df2e899eb3
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012421: If apply.module task throw an error the rebuild is not stopped

DescriptionI 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
Steps To Reproduce1. 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0024826)
hgbot (developer)
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 (developer)
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 [^]

- Issue History
Date Modified Username Field Change
2010-02-23 17:14 plujan New Issue
2010-02-23 17:14 plujan Assigned To => marvintm
2010-02-23 17:15 plujan Status new => scheduled
2010-02-23 17:15 plujan fix_in_branch => pi
2010-02-25 17:40 hgbot Checkin
2010-02-25 17:40 hgbot Note Added: 0024826
2010-02-25 17:40 hgbot Status scheduled => resolved
2010-02-25 17:40 hgbot Resolution open => fixed
2010-02-25 17:40 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/45df2e899eb368359ccb7b7d8064acc0ab709f7a [^]
2010-03-12 16:18 alostale Status resolved => closed
2010-03-12 16:18 alostale Fixed in Version => 2.50MP14
2010-03-12 22:39 hudsonbot Checkin
2010-03-12 22:39 hudsonbot Note Added: 0025325
2010-03-13 00:00 anonymous sf_bug_id 0 => 2969670


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker