Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016816Openbravo ERPA. Platformpublic2011-04-14 20:152011-06-15 15:11
psarobe 
alostale 
urgentmajoralways
closedfixed 
5
pi 
3.0RC73.0RC7 
Core
No
0016816: NPE when installing a commercial module in a community instance
See attach
1. Being in a community instance
2. Login as Openbravo/openbravo
3. Change the role to system admin
4. Go to module management console
5. Move to add modules
6. Search for ofx
7. Click install module

You will get the NPE. This is wrong
No tags attached.
depends on backport 00176493.0RC7 closed alostale NPE when installing a commercial module in a community instance 
has duplicate defect 00173613.0MP2 closed alostale Null Pointer Exception error when trying to install commercial module in deactivate instance 
png error.PNG (50,853) 2011-04-14 20:15
https://issues.openbravo.com/file_download.php?file_id=3879&type=bug
png
Issue History
2011-04-14 20:15psarobeNew Issue
2011-04-14 20:15psarobeAssigned To => alostale
2011-04-14 20:15psarobeFile Added: error.PNG
2011-04-14 20:15psarobeModules => Core
2011-04-14 20:16psarobeStatusnew => scheduled
2011-04-14 20:16psarobefix_in_branch => pi
2011-05-06 18:03shuehnerNote Added: 0036528
2011-05-09 10:47hgbotCheckin
2011-05-09 10:47hgbotNote Added: 0036548
2011-05-09 10:47hgbotStatusscheduled => resolved
2011-05-09 10:47hgbotResolutionopen => fixed
2011-05-09 10:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d1cffe03d0a06c04461314d25079900bcb974f6e [^]
2011-05-12 11:23marvintmStatusresolved => closed
2011-05-12 13:31hudsonbotCheckin
2011-05-12 13:31hudsonbotNote Added: 0036857
2011-06-15 15:10alostaleStatusclosed => new
2011-06-15 15:10alostaleResolutionfixed => open
2011-06-15 15:10alostaleStatusnew => scheduled
2011-06-15 15:11alostaleStatusscheduled => resolved
2011-06-15 15:11alostaleResolutionopen => fixed
2011-06-15 15:11alostaleStatusresolved => closed
2011-06-15 15:11alostaleFixed in Version => 3.0RC7
2011-07-21 17:02alostaleRelationship addedhas duplicate 0017361

Notes
(0036528)
shuehner   
2011-05-06 18:03   
Adding stacktrace of the error:

a3196480 1050948 [http-8080-6] ERROR org.openbravo.erpCommon.ad_forms.ModuleManagement -
java.lang.NullPointerException
    at org.openbravo.erpCommon.obps.ActivationKey.getProperty(ActivationKey.java:736)
    at org.openbravo.erpCommon.obps.ActivationKey.isModuleSubscribed(ActivationKey.java:892)
    at org.openbravo.erpCommon.ad_forms.ModuleManagement.getNotAllowedModules(ModuleManagement.java:1150)
    at org.openbravo.erpCommon.ad_forms.ModuleManagement.checkCommercialModules(ModuleManagement.java:1018)
    at org.openbravo.erpCommon.ad_forms.ModuleManagement.printPageInstall1(ModuleManagement.java:768)
    at org.openbravo.erpCommon.ad_forms.ModuleManagement.doPost(ModuleManagement.java:132)
(0036548)
hgbot   
2011-05-09 10:47   
Repository: erp/devel/pi
Changeset: d1cffe03d0a06c04461314d25079900bcb974f6e
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon May 09 10:46:15 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d1cffe03d0a06c04461314d25079900bcb974f6e [^]

fixed bug 16816: NPE when installing a commercial module in a community instance

---
M src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java
---
(0036857)
hudsonbot   
2011-05-12 13:31   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^]

Maturity status: Test