Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0008358 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | have not tried | 2009-03-31 12:14 | 2009-04-29 00:00 | |||
Reporter | marvintm | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 2.50MP1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 500bea73b740 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | main | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0008358: When package.module is called without having exported the module, the process crashes without any meaningful message | |||||||
Description | When package.module is called without having exported the module, the process crashes (because it tries to zip a non-existent directory) without any message, only with a NullPointerException: openbravo@domU-12-31-39-03-4A-44 AppsOpenbravo]$ ant package.module > -Dmodule=com.mycompany.hotel > Buildfile: build.xml > > package.module: > [echo] Validating Module... > [validateModules] 0 [main] WARN SystemValidation - Validation > successfull no warnings or errors > > obx.export.database: > > obx.export.config.script: > [extractModule] java.lang.NullPointerException > [extractModule] at > org.openbravo.erpCommon.modules.ExtractModule.createOBX(ExtractModule.java:203) > [extractModule] at > org.openbravo.erpCommon.modules.ExtractModule.extractModule(ExtractModule.java:156) > [extractModule] at > org.openbravo.erpCommon.modules.ExtractModule.extractPackage(ExtractModule.java:175) > [extractModule] at > org.openbravo.erpCommon.modules.ExtractModule.extract(ExtractModule.java:86) > [extractModule] at > org.openbravo.erpCommon.modules.ExtractModule.extractName(ExtractModule.java:141) > [extractModule] at > org.openbravo.erpCommon.modules.ExtractModuleTask.doExecute(ExtractModuleTask.java:64) > [extractModule] at > org.openbravo.erpCommon.modules.ExtractModuleTask.execute(ExtractModuleTask.java:44) > [extractModule] at > org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) > [extractModule] at > sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source) > [extractModule] at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > [extractModule] at java.lang.reflect.Method.invoke(Method.java:597) > [extractModule] at > org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > [extractModule] at org.apache.tools.ant.Task.perform(Task.java:348) > [extractModule] at > org.apache.tools.ant.Target.execute(Target.java:357) > [extractModule] at > org.apache.tools.ant.Target.performTasks(Target.java:385) > [extractModule] at > org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337) > [extractModule] at > org.apache.tools.ant.Project.executeTarget(Project.java:1306) > [extractModule] at > org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) > [extractModule] at > org.apache.tools.ant.Project.executeTargets(Project.java:1189) > [extractModule] at org.apache.tools.ant.Main.runBuild(Main.java:758) > [extractModule] at org.apache.tools.ant.Main.startAnt(Main.java:217) > [extractModule] at > org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) > [extractModule] at > org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) > Of course, the process cannot complete succesfully if the module has not been exported, but a meaningful message should be provided, so the user knows that he needs to export the module (or call package.module with -Dobx.export.DB=true) | |||||||
Tags | main | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0015146) hgbot (developer) 2009-04-03 09:17 |
Repository: erp/devel/pi Changeset: 500bea73b740486e7c44650744d386d3bbf04935 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Apr 03 09:16:54 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/500bea73b740486e7c44650744d386d3bbf04935 [^] fixed bug 0008358: When package.module is called without having exported the module, the process crashes without any meaningful message --- M src/org/openbravo/erpCommon/modules/ExtractModule.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2009-03-31 12:14 | marvintm | New Issue | |
2009-03-31 12:14 | marvintm | Assigned To | => alostale |
2009-03-31 12:14 | marvintm | Regression testing | => No |
2009-04-01 09:53 | pjuvara | version | => main |
2009-04-03 09:17 | hgbot | Checkin | |
2009-04-03 09:17 | hgbot | Note Added: 0015146 | |
2009-04-03 09:17 | hgbot | Status | new => resolved |
2009-04-03 09:17 | hgbot | Resolution | open => fixed |
2009-04-03 09:17 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/500bea73b740486e7c44650744d386d3bbf04935 [^] |
2009-04-22 11:24 | psarobe | Tag Attached: main | |
2009-04-28 20:20 | psarobe | Status | resolved => closed |
2009-04-29 00:00 | anonymous | sf_bug_id | 0 => 2783258 |
2009-05-08 12:35 | alostale | Relationship added | has duplicate 0008939 |
Copyright © 2000 - 2009 MantisBT Group |