You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Warner Onstine (JIRA)" <ta...@jakarta.apache.org> on 2005/05/12 19:52:11 UTC
[jira] Created: (TAPESTRY-328) When an engine implementation is missing Tapestry does not throw an appropriate error
When an engine implementation is missing Tapestry does not throw an appropriate error
-------------------------------------------------------------------------------------
Key: TAPESTRY-328
URL: http://issues.apache.org/jira/browse/TAPESTRY-328
Project: Tapestry
Type: Bug
Components: Framework
Versions: 4.0
Environment: OS X 10.3.9, Tomcat 5.0.30, Powerbook g4
Reporter: Warner Onstine
I had a custom engine implementation specified in my application file which did not exist. When I attempted to access the application I received the following error:
java.lang.NullPointerException
org.apache.tapestry.services.impl.EngineFactoryImpl.constructNewEngineInstance(EngineFactoryImpl.java:90)
$EngineFactory_103d20624a2.constructNewEngineInstance($EngineFactory_103d20624a2.java)
$EngineFactory_103d20624a1.constructNewEngineInstance($EngineFactory_103d20624a1.java)
org.apache.tapestry.services.impl.EngineManagerImpl.getEngineInstance(EngineManagerImpl.java:51)
$EngineManager_103d206249b.getEngineInstance($EngineManager_103d206249b.java)
$EngineManager_103d206249a.getEngineInstance($EngineManager_103d206249a.java)
org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:51)
org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:56)
org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
$ServletRequestServicer_103d206249c.service($ServletRequestServicer_103d206249c.java)
org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
$ServletRequestServicerFilter_103d2062485.service($ServletRequestServicerFilter_103d2062485.java)
$ServletRequestServicerFilter_103d2062484.service($ServletRequestServicerFilter_103d2062484.java)
$ServletRequestServicer_103d206249c.service($ServletRequestServicer_103d206249c.java)
org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
$ServletRequestServicer_103d206249c.service($ServletRequestServicer_103d206249c.java)
org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:125)
org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:89)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
It would be better for end devlopers if Tapestry threw a message that said - cannot find custom Engine - "blah.Engine", please ensure that it is in your classpath. Or something like that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
[jira] Closed: (TAPESTRY-328) When an engine implementation is missing Tapestry does not throw an appropriate error
Posted by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-328?page=all ]
Howard M. Lewis Ship closed TAPESTRY-328:
-----------------------------------------
Fix Version: 4.0
Resolution: Fixed
Assign To: Howard M. Lewis Ship
> When an engine implementation is missing Tapestry does not throw an appropriate error
> -------------------------------------------------------------------------------------
>
> Key: TAPESTRY-328
> URL: http://issues.apache.org/jira/browse/TAPESTRY-328
> Project: Tapestry
> Type: Bug
> Components: Framework
> Versions: 4.0
> Environment: OS X 10.3.9, Tomcat 5.0.30, Powerbook g4
> Reporter: Warner Onstine
> Assignee: Howard M. Lewis Ship
> Fix For: 4.0
>
> I had a custom engine implementation specified in my application file which did not exist. When I attempted to access the application I received the following error:
> java.lang.NullPointerException
> org.apache.tapestry.services.impl.EngineFactoryImpl.constructNewEngineInstance(EngineFactoryImpl.java:90)
> $EngineFactory_103d20624a2.constructNewEngineInstance($EngineFactory_103d20624a2.java)
> $EngineFactory_103d20624a1.constructNewEngineInstance($EngineFactory_103d20624a1.java)
> org.apache.tapestry.services.impl.EngineManagerImpl.getEngineInstance(EngineManagerImpl.java:51)
> $EngineManager_103d206249b.getEngineInstance($EngineManager_103d206249b.java)
> $EngineManager_103d206249a.getEngineInstance($EngineManager_103d206249a.java)
> org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:51)
> org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:56)
> org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
> $ServletRequestServicer_103d206249c.service($ServletRequestServicer_103d206249c.java)
> org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
> $ServletRequestServicerFilter_103d2062485.service($ServletRequestServicerFilter_103d2062485.java)
> $ServletRequestServicerFilter_103d2062484.service($ServletRequestServicerFilter_103d2062484.java)
> $ServletRequestServicer_103d206249c.service($ServletRequestServicer_103d206249c.java)
> org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
> $ServletRequestServicer_103d206249c.service($ServletRequestServicer_103d206249c.java)
> org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:125)
> org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:89)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> It would be better for end devlopers if Tapestry threw a message that said - cannot find custom Engine - "blah.Engine", please ensure that it is in your classpath. Or something like that.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org