Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010668Openbravo ERPA. Platformpublic2009-09-20 20:582009-10-06 11:50
shuehner 
marvintm 
urgentmajorhave not tried
closedfixed 
5
pi 
2.50MP62.50MP6 
Core
No
0010668: NPE and not user visible error message on deleting 'Your company document image' in newly created organisation
Deleting the 'Your company document image' in the information tab of the organisation window does:
- not delete the image
- produce an NPE
- does not tell the user in any way

Stacktrace of the NPE:
java.lang.NullPointerException
    at org.openbravo.erpCommon.info.ImageInfoBLOB.doPost(ImageInfoBLOB.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:224)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:336)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:79)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:85)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
4737118 [http-8080-5] ERROR org.openbravo.erpCommon.info.ImageInfoBLOB - Class for table not found
java.lang.NullPointerException
    at org.openbravo.erpCommon.info.ImageInfoBLOB.doPost(ImageInfoBLOB.java:111)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:224)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:336)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.dal.core.DalRequestFilter$1.doAction(DalRequestFilter.java:79)
    at org.openbravo.dal.core.ThreadHandler.run(ThreadHandler.java:46)
    at org.openbravo.dal.core.DalRequestFilter.doFilter(DalRequestFilter.java:85)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Use the testcases defined for the Configurable System logo project:
http://wiki.openbravo.com/wiki/Projects/Configurable_System_logos [^]

Execute at least testcases 1.5.6 and 1.5.7
Check the tomcat output/eclipse console for errors
250mp6
Issue History
2009-09-20 20:58shuehnerNew Issue
2009-09-20 20:58shuehnerAssigned To => marvintm
2009-09-20 21:00shuehnerNote Added: 0020221
2009-09-21 11:42hgbotCheckin
2009-09-21 11:42hgbotNote Added: 0020228
2009-09-21 11:42hgbotStatusnew => resolved
2009-09-21 11:42hgbotResolutionopen => fixed
2009-09-21 11:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/184697b1fbe659a167d501e029627be9e4c4ab9a [^]
2009-09-23 16:11psarobeTarget Version => 2.50MP6
2009-09-23 16:12psarobeTag Attached: 250mp6
2009-09-25 11:33psarobeStatusresolved => closed
2009-09-25 11:33psarobeNote Added: 0020362
2009-09-25 11:33psarobeFixed in Version => 2.50MP6
2009-09-26 00:00anonymoussf_bug_id0 => 2866956
2009-09-29 14:14hgbotCheckin
2009-09-29 14:14hgbotNote Added: 0020486
2009-09-29 14:14hgbotStatusclosed => resolved
2009-09-29 14:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/184697b1fbe659a167d501e029627be9e4c4ab9a [^] => http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/184697b1fbe659a167d501e029627be9e4c4ab9a [^]
2009-10-06 11:50psarobeStatusresolved => closed
2009-10-06 11:50psarobeNote Added: 0020768

Notes
(0020221)
shuehner   
2009-09-20 21:00   
When changing the selector the existing printStackTrace call in the catch block should be removed as it is not needed with the following proper log4j logging.
(0020228)
hgbot   
2009-09-21 11:42   
Repository: erp/devel/pi
Changeset: 184697b1fbe659a167d501e029627be9e4c4ab9a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 21 11:42:15 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/184697b1fbe659a167d501e029627be9e4c4ab9a [^]

Fixed issue 10668.
Table id column data is read differently to avoid problems related to inpKeyCol Wad attribute.

---
M src/org/openbravo/erpCommon/info/ImageInfoBLOB.java
---
(0020362)
psarobe   
2009-09-25 11:33   
Tested working fine
(0020486)
hgbot   
2009-09-29 14:14   
Repository: erp/devel/pi-pageddatagrid
Changeset: 184697b1fbe659a167d501e029627be9e4c4ab9a
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon Sep 21 11:42:15 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/184697b1fbe659a167d501e029627be9e4c4ab9a [^]

Fixed issue 10668.
Table id column data is read differently to avoid problems related to inpKeyCol Wad attribute.

---
M src/org/openbravo/erpCommon/info/ImageInfoBLOB.java
---
(0020768)
psarobe   
2009-10-06 11:50   
Closed again because hudson has reopened without no reason