Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0015399Openbravo ERPZ. Otherspublic2010-12-10 09:562011-05-24 10:57
gorkaion 
iperdomo 
normalmajoralways
closedfixed 
20Gentoo
pi 
 
My Openbravo Tab
No
0015399: Null pointer exception when login into the application
Having the query list module installed as well. With a query / list class widget instance. When the user logins into the application a null pointer exception appears and after refreshing the MyOpenbravo tab the widget disappears.
1. Install the Query/List module
2. Create a new widget class implementing the query/list superclass.
3. Add a widget instance of this new widget class.
4. Log out and log in.
closingMay2011
Issue History
2010-12-10 09:56gorkaionNew Issue
2010-12-10 09:56gorkaionAssigned To => iperdomo
2010-12-10 09:56gorkaionModules => My Openbravo Tab
2010-12-10 11:00iperdomoStatusnew => scheduled
2010-12-10 11:00iperdomofix_in_branch => pi
2010-12-13 14:12hgbotCheckin
2010-12-13 14:12hgbotNote Added: 0033127
2010-12-13 14:12hgbotStatusscheduled => resolved
2010-12-13 14:12hgbotResolutionopen => fixed
2010-12-13 14:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/33b8779c6a76aaee00997ee8279ac7c0139d7ac2 [^]
2010-12-30 13:13hudsonbotCheckin
2010-12-30 13:13hudsonbotNote Added: 0033436
2011-05-24 10:02dalsasuaTag Attached: closingMay2011
2011-05-24 10:57dalsasuaStatusresolved => closed

Notes
(0033127)
hgbot   
2010-12-13 14:12   
Repository: erp/devel/pi
Changeset: 33b8779c6a76aaee00997ee8279ac7c0139d7ac2
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Mon Dec 13 14:11:43 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/33b8779c6a76aaee00997ee8279ac7c0139d7ac2 [^]

Fixes issue 15399: Changed the way MyOB creates the widget instances
- The widget instances were preloaded as static resources in the call to
    StaticResources. Now the widgets instances are not preloaded, they are
    get using a call to reloadWidgets()
- The 'Get available widgets classes' now appends a definition
    'isc.defineClass()' for all widget class definition to avoid requesting
    again the same
- Removed tailing spaces from ob-myopenbravo.js

---
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoActionHandler.java
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponent.java
M modules/org.openbravo.client.myob/src/org/openbravo/client/myob/templates/my_ob_js.ftl
M modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js
---
(0033436)
hudsonbot   
2010-12-30 13:13   
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/33b8779c6a76 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^]