You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Ruth Hoffman (JIRA)" <ji...@apache.org> on 2009/12/22 18:44:29 UTC
[jira] Commented: (OFBIZ-3376) RomeEventHandler.java throws
java.lang.NullPointerException
[ 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.