NPE in humanres when searching for leaves
-----------------------------------------
Key: OFBIZ-3488
URL: https://issues.apache.org/jira/browse/OFBIZ-3488
Project: OFBiz
Issue Type: Bug
Components: humanres
Affects Versions: SVN trunk
Environment: demo server
Reporter: Erwan de FERRIERES
Fix For: SVN trunk
Steps to reproduce :
go to humanres -> Leave
then click on "New leave", and create a leave.
Go back to the find leave screen, and click directly on search (no neet to add
search parameters), and then a NPE is raised
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://common/widget/CommonScreens.xml#FindScreenDecorator]:
java.lang.NullPointerException (null)
Stack trace :
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------------------------
2010-02-19 11:15:30,700 (http-0.0.0.0-8443-4) [
ControlServlet.java:240:ERROR] An error occurred, going to the errorPage:
/error/error.jsp
2010-02-19 11:15:30,711 (http-0.0.0.0-8443-4) [
ControlServlet.java:247:ERROR] Including errorPage: /error/error.jsp
2010-02-19 11:15:31,746 (Finalizer) [ EntityListIterator.java:546:ERROR]
---- runtime exception report --------------------------------------------------
Error closing the SQLProcessor in finalize EntityListIterator
Exception: java.lang.NullPointerException
Message: null
---- stack trace ---------------------------------------------------------------
java.lang.NullPointerException
org.apache.commons.dbcp.managed.ManagedConnection.close(ManagedConnection.java:147)
org.ofbiz.entity.jdbc.SQLProcessor.close(SQLProcessor.java:223)
org.ofbiz.entity.util.EntityListIterator.close(EntityListIterator.java:155)
org.ofbiz.entity.util.EntityListIterator.finalize(EntityListIterator.java:542)
java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
java.lang.ref.Finalizer.access$100(Finalizer.java:14)
java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
--------------------------------------------------------------------------------
2010-02-19 11:15:32,108 (http-0.0.0.0-8443-4) [
ControlServlet.java:321:INFO ] [[[FindEmplLeaves] Request Done-
total:1.982,since last([FindEmplLeaves] ...):1.982]]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.