|
RomeEventHandler.java throws java.lang.NullPointerException
----------------------------------------------------------- Key: OFBIZ-3376 URL: https://issues.apache.org/jira/browse/OFBIZ-3376 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Release Branch 9.04 Environment: Using a controller request map to call a "rome" event causes the reported null pointer exception. The fix: Change this line from: String respCode = service.invoke(null, requestMap, request, response); to: String respCode = service.invoke(event, requestMap, request, response); Reporter: Ruth Hoffman Priority: Minor Partial log file: Error in request handler: Exception: java.lang.NullPointerException Message: null ---- stack trace --------------------------------------------------------------- java.lang.NullPointerException org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:93) org.ofbiz.webapp.event.RomeEventHandler.invoke(RomeEventHandler.java:84) org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:617) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:381) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
[ https://issues.apache.org/jira/browse/OFBIZ-3376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793687#action_12793687 ] Ruth Hoffman commented on OFBIZ-3376: ------------------------------------- Sorry, should have said the line changes should be in ~webapp/~RomeEventHander.java > RomeEventHandler.java throws java.lang.NullPointerException > ----------------------------------------------------------- > > Key: OFBIZ-3376 > URL: https://issues.apache.org/jira/browse/OFBIZ-3376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 9.04 > Environment: Using a controller request map to call a "rome" event causes the reported null pointer exception. > The fix: > Change this line from: > String respCode = service.invoke(null, requestMap, request, response); > to: > String respCode = service.invoke(event, requestMap, request, response); > Reporter: Ruth Hoffman > Priority: Minor > > Partial log file: > Error in request handler: > Exception: java.lang.NullPointerException > Message: null > ---- stack trace --------------------------------------------------------------- > java.lang.NullPointerException > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:93) > org.ofbiz.webapp.event.RomeEventHandler.invoke(RomeEventHandler.java:84) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:617) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:381) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217) > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Gray reassigned OFBIZ-3376: --------------------------------- Assignee: Scott Gray > RomeEventHandler.java throws java.lang.NullPointerException > ----------------------------------------------------------- > > Key: OFBIZ-3376 > URL: https://issues.apache.org/jira/browse/OFBIZ-3376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 9.04 > Environment: Using a controller request map to call a "rome" event causes the reported null pointer exception. > The fix: > Change this line from: > String respCode = service.invoke(null, requestMap, request, response); > to: > String respCode = service.invoke(event, requestMap, request, response); > Reporter: Ruth Hoffman > Assignee: Scott Gray > Priority: Minor > > Partial log file: > Error in request handler: > Exception: java.lang.NullPointerException > Message: null > ---- stack trace --------------------------------------------------------------- > java.lang.NullPointerException > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:93) > org.ofbiz.webapp.event.RomeEventHandler.invoke(RomeEventHandler.java:84) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:617) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:381) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217) > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
|
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-3376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Gray closed OFBIZ-3376. ----------------------------- Resolution: Fixed Fix Version/s: SVN trunk Release Branch 9.04 Thanks Ruth, fixed in trunk r899855 and 9.04 r899857 > RomeEventHandler.java throws java.lang.NullPointerException > ----------------------------------------------------------- > > Key: OFBIZ-3376 > URL: https://issues.apache.org/jira/browse/OFBIZ-3376 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: Release Branch 9.04 > Environment: Using a controller request map to call a "rome" event causes the reported null pointer exception. > The fix: > Change this line from: > String respCode = service.invoke(null, requestMap, request, response); > to: > String respCode = service.invoke(event, requestMap, request, response); > Reporter: Ruth Hoffman > Assignee: Scott Gray > Priority: Minor > Fix For: Release Branch 9.04, SVN trunk > > > Partial log file: > Error in request handler: > Exception: java.lang.NullPointerException > Message: null > ---- stack trace --------------------------------------------------------------- > java.lang.NullPointerException > org.ofbiz.webapp.event.ServiceEventHandler.invoke(ServiceEventHandler.java:93) > org.ofbiz.webapp.event.RomeEventHandler.invoke(RomeEventHandler.java:84) > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:617) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:381) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:217) > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
| Free forum by Nabble | Edit this page |
