You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2010/01/16 01:48:54 UTC
[jira] Closed: (OFBIZ-3376) RomeEventHandler.java throws
java.lang.NullPointerException
[ 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.