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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010904
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2009-10-08 08:412009-10-14 00:00
ReporterpsarobeView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version2.50MP7
StatusclosedFix in branchFixed in SCM revisiond4725483efe2
ProjectionnoneETAnoneTarget Version2.50MP7
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revisionc94a75afdb53 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010904: Registration window: Null pointer exception

DescriptionWhen I change from one role to another role, the user info pop-up opens without problems but when it closes another pop-up window opens showing a null pointer exception

The problem comes because when updating any process has removed the entry in the system info window
Steps To Reproduce1. Login. You will probably be with the role "System administrator"
2. Change the to "Openbravo Admin". No problems shows up in this step
3. Then change the role to System administrator again using the user info pop-up
4. Select the System administrator role and press OK
5. The pop-up is closed but another pop-up is opened showing a null pointer exception

See attach and the log:

08:32:38 [http-8880-5] ERROR org.openbravo.erpCommon.ad_forms.Registration - Error captured:
java.lang.NullPointerException
    at org.openbravo.erpCommon.ad_forms.Registration.printPageDataSheet(Registration.java:99)
    at org.openbravo.erpCommon.ad_forms.Registration.doPost(Registration.java:49)
    at org.openbravo.base.HttpBaseServlet.doGet(HttpBaseServlet.java:286)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:224)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:340)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    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:93)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:834)
    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:640)
    at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1286)
    at java.lang.Thread.run(Unknown Source)
TagsNo tags attached.
Attached Filespng file icon registration.PNG [^] (37,336 bytes) 2009-10-08 08:41

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00109112.50MP7 closedmarvintm Lost images after updating PI 

-  Notes
(0020908)
hgbot (developer)
2009-10-09 13:55

Repository: erp/devel/pi
Changeset: d4725483efe239472ce414cdc04d2f8f5b9d5299
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Oct 09 13:54:54 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d4725483efe239472ce414cdc04d2f8f5b9d5299 [^]

Fixes issue 10904: Added extra check to avoid NPE

---
M src/org/openbravo/erpCommon/ad_forms/Registration.java
---
(0020957)
arunkumar (reporter)
2009-10-13 09:01

There is no nullPointerException while switching over to the "System Admin" role.

- Issue History
Date Modified Username Field Change
2009-10-08 08:41 psarobe New Issue
2009-10-08 08:41 psarobe Assigned To => iperdomo
2009-10-08 08:41 psarobe File Added: registration.PNG
2009-10-08 08:41 psarobe Status new => scheduled
2009-10-08 08:41 psarobe fix_in_branch => pi
2009-10-09 13:40 psarobe Relationship added related to 0010911
2009-10-09 13:41 psarobe fix_in_branch pi =>
2009-10-09 13:41 psarobe Description Updated
2009-10-09 13:50 iperdomo Assigned To iperdomo => marvintm
2009-10-09 13:55 hgbot Checkin
2009-10-09 13:55 hgbot Note Added: 0020908
2009-10-09 13:55 hgbot Status scheduled => resolved
2009-10-09 13:55 hgbot Resolution open => fixed
2009-10-09 13:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d4725483efe239472ce414cdc04d2f8f5b9d5299 [^]
2009-10-13 09:01 arunkumar Status resolved => closed
2009-10-13 09:01 arunkumar Note Added: 0020957
2009-10-13 09:01 arunkumar Fixed in Version => 2.50MP7
2009-10-14 00:00 anonymous sf_bug_id 0 => 2878315


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker