You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Erwan de FERRIERES (JIRA)" <ji...@apache.org> on 2010/02/19 11:59:27 UTC

[jira] Created: (OFBIZ-3488) NPE in humanres when searching for leaves

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.


[jira] Closed: (OFBIZ-3488) NPE in humanres when searching for leaves

Posted by "Erwan de FERRIERES (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erwan de FERRIERES closed OFBIZ-3488.
-------------------------------------

    Resolution: Fixed
      Assignee: Erwan de FERRIERES

Done at rev. 915045
Thanks Olivier for the patch

> 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
>            Assignee: Erwan de FERRIERES
>             Fix For: SVN trunk
>
>         Attachments: EmplLeaveForms.xml.patch
>
>
> 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.


[jira] Updated: (OFBIZ-3488) NPE in humanres when searching for leaves

Posted by "Olivier Heintz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OFBIZ-3488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Heintz updated OFBIZ-3488:
----------------------------------

    Attachment: EmplLeaveForms.xml.patch

correction patch

> 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
>
>         Attachments: EmplLeaveForms.xml.patch
>
>
> 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.