Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006131Openbravo ERPZ. Otherspublic2008-11-20 19:282009-04-21 11:06
shuehner 
gorka_gil 
normalminorhave not tried
closedfixed 
5
 
 
Core
No
0006131: Using "View details" on roks-module gives empty page with hidden NullPointerException
See "Steps to reproduce"

List of issues to fix here: Please check/address all of these!

1.) NullPointer Exceptions occurs
2.) The Popup has en error displaying an error message (you have to resize it to see the error)
3.) The layout of the popup in this case is broken (see screenshot)
4.) Logging of this exception is done very badly
    It is catched in HttpSecureAppServlet.java (line 262)
    Only the exception name is logged to log4j4j, not stacktrace
    the Stacktrace is printed on std-out
    Outcome: Info for this exception is spread over 2 log-files
    - openbravo.log for seeing "Error captured: NPE"
    - catalina.out (capturing std-out) for seeing the stacktrace without any timestamp and context information.
Click "View Details" on Rok's module.
Ant empty page is shown
if you resize the page you see "Error: java.lang.NullPointerException"
- Fix npe
- Fix logging in HttpSecureAppServlet to log complete exception information to logj
- Perhaps: Audit all *.printStacktrace calls to use log4j instead.
No tags attached.
related to defect 0006181 closed gorka_gil Displaying or errors (exceptions) in the ModuleManagement-popup is broken 
related to defect 0006182 closed shuehner Logging of this exception in HttpSecureAppServlet is done very badly 
png NullPointer-Error.png (745,092) 2008-11-20 20:08
https://issues.openbravo.com/file_download.php?file_id=451&type=bug
Issue History
2008-11-20 19:28shuehnerNew Issue
2008-11-20 19:28shuehnerAssigned To => rafaroda
2008-11-20 19:28shuehnersf_bug_id0 => 2318199
2008-11-20 19:28shuehnerRegression testing => No
2008-11-20 19:37shuehnerNote Added: 0010470
2008-11-20 20:08shuehnerFile Added: NullPointer-Error.png
2008-11-21 18:50iciordiaAssigned Torafaroda => gorka_gil
2008-11-24 12:58rafarodaStatusnew => scheduled
2008-11-24 12:58rafarodafix_in_branch => trunk
2008-11-24 13:42gorka_gilStatusscheduled => resolved
2008-11-24 13:42gorka_gilsvn_revision => 10453
2008-11-24 13:42gorka_gilResolutionopen => fixed
2008-11-24 13:42gorka_gilNote Added: 0010564
2008-11-24 14:12gorka_gilStatusresolved => new
2008-11-24 14:12gorka_gilResolutionfixed => open
2008-11-24 14:12gorka_gilStatusnew => scheduled
2008-11-24 16:06gorka_gilStatusscheduled => resolved
2008-11-24 16:06gorka_gilResolutionopen => fixed
2008-11-24 16:14shuehnerRelationship addedrelated to 0006181
2008-11-24 16:21shuehnerRelationship addedrelated to 0006182
2009-04-21 11:06psarobeStatusresolved => closed

Notes
(0010470)
shuehner   
2008-11-20 19:37   
Additional information after a talk with the module developer. This module is only registered in the central repository. No code (obx) was ever uploaded.
Solution. Check in the server-code if the module has content and filter the list of modules accordingly.
(0010564)
gorka_gil   
2008-11-24 13:42   
Now, search for modules only returns modules that has obx file