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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021246
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2012-07-30 12:432012-08-29 19:25
ReportershuehnerView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision0e82e9b7585a
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revisionb6862b1e8f54 
Review Assigned Tomigueldejuana
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021246: Installing a module with wrong source.path configuration now shows NPE

DescriptionTrying to install a module having wrong source.path configuration now does not show a useful error message indicating the error but does just show a NullPointerException.

Error stacktrace:

a3196480 180980 [http-8080-4] ERROR org.openbravo.erpCommon.ad_forms.ModuleManagement - Error captured:
java.lang.NullPointerException
    at org.openbravo.erpCommon.ad_forms.ModuleManagement.verifyLocalChanges(ModuleManagement.java:2638)
    at org.openbravo.erpCommon.ad_forms.ModuleManagement.printPageInstall1(ModuleManagement.java:1100)
    at org.openbravo.erpCommon.ad_forms.ModuleManagement.doPost(ModuleManagement.java:152)
Steps To Reproducecurrent pi + install.source
do not configure source.path correctly (or deliberately point it to a non-existent directory)
try to install a module
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0051329)
hgbot (developer)
2012-08-16 15:50

Repository: erp/devel/pi
Changeset: 43a1d064d9c43e0d6708e9a2c2a542c05d09c909
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Thu Aug 09 17:37:00 2012 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/43a1d064d9c43e0d6708e9a2c2a542c05d09c909 [^]

Related to issue 21246 : Null Pointer Exception while installing module

Installing a module with wrong source.path configuration now shows NPE.
Fixed that to show 'Invalid source path' when the folder does not exist.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0051330)
hgbot (developer)
2012-08-16 16:06

Repository: erp/devel/pi
Changeset: 54c9e821596d07f1b14714e7029667885e9d3162
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Aug 16 16:06:08 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/54c9e821596d07f1b14714e7029667885e9d3162 [^]

Related to issue 21246: Added missing parenthesis

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0051331)
hgbot (developer)
2012-08-16 16:17

Repository: erp/devel/pi
Changeset: e62c79a1253e707ca2330a684d445b6787a8eb52
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Wed Aug 15 18:38:46 2012 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/e62c79a1253e707ca2330a684d445b6787a8eb52 [^]

Related to issue 21246 : Null Pointer Exception while installing modules

Handles the case when the folder exists but does not have the proper permissions.

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0051332)
hgbot (developer)
2012-08-16 16:33

Repository: erp/devel/pi
Changeset: 0e82e9b7585aae158a4cdc89dd38cd661a0a2822
Author: Pandeeswari Ramakrishnan <pandeeswari.ramakrishnan <at> openbravo.com>
Date: Thu Aug 16 17:58:49 2012 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/0e82e9b7585aae158a4cdc89dd38cd661a0a2822 [^]

Fixes Issue 21246: Null Pointer Exception while Installing Modules

Handled pending case, when the source path points to an existing folder with write permissions but that does not contain the Openbravo sources.

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0051653)
migueldejuana (developer)
2012-08-29 19:25

Tested and reviewed in pi@19952d22eb0a

- Issue History
Date Modified Username Field Change
2012-07-30 12:43 shuehner New Issue
2012-07-30 12:43 shuehner Assigned To => alostale
2012-07-30 12:43 shuehner Modules => Core
2012-08-08 13:53 AugustoMauch Assigned To alostale => AugustoMauch
2012-08-16 15:50 hgbot Checkin
2012-08-16 15:50 hgbot Note Added: 0051329
2012-08-16 16:06 hgbot Checkin
2012-08-16 16:06 hgbot Note Added: 0051330
2012-08-16 16:17 hgbot Checkin
2012-08-16 16:17 hgbot Note Added: 0051331
2012-08-16 16:33 hgbot Checkin
2012-08-16 16:33 hgbot Note Added: 0051332
2012-08-16 16:33 hgbot Status new => resolved
2012-08-16 16:33 hgbot Resolution open => fixed
2012-08-16 16:33 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0e82e9b7585aae158a4cdc89dd38cd661a0a2822 [^]
2012-08-29 19:25 migueldejuana Closed by => migueldejuana
2012-08-29 19:25 migueldejuana Note Added: 0051653
2012-08-29 19:25 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker