[ http://issues.apache.org/jira/browse/TAPESTRY-418?page=all ]

Jesse Kuhnert updated TAPESTRY-418:
-----------------------------------

    Fix Version/s: 4.1.2

> Injecting an unknown state object doesn't provide line precise error details
> ----------------------------------------------------------------------------
>
>                 Key: TAPESTRY-418
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-418
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 4.0
>            Reporter: Howard M. Lewis Ship
>            Priority: Minor
>             Fix For: 4.1.2
>
>
> When you access a property that's an @InjectState, and the state doesn't 
> exist, the exception does not idenitfy the line of the error:
> org.apache.hivemind.ApplicationRuntimeException
> 'Visit' is not a declared application state object.
> Stack Trace:
>     * 
> org.apache.tapestry.engine.state.SOMRegistryImpl.get(SOMRegistryImpl.java:79)
>     * 
> $StateObjectManagerRegistry_105352e2b65.get($StateObjectManagerRegistry_105352e2b65.java)
>     * 
> org.apache.tapestry.engine.state.ApplicationStateManagerImpl.get(ApplicationStateManagerImpl.java:60)
>     * 
> $ApplicationStateManager_105352e2a4e.get($ApplicationStateManager_105352e2a4e.java)
>     * 
> $ApplicationStateManager_105352e2a4f.get($ApplicationStateManager_105352e2a4f.java)
>     * $Name_176.getUserIdentity($Name_176.java)
>     * com.vaisala.ww.ui.pages.report.Name.initializeForWizard(Name.java:48)
>     * com.vaisala.ww.ui.components.WizardForm.initialize(WizardForm.java:303)
>     * 
> com.vaisala.ww.ui.pages.report.ReportWizard.activate(ReportWizard.java:22)
>     * 
> com.vaisala.ww.ui.pages.account.AccountManagement.doNewReport(AccountManagement.java:27)
>     * sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     * 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     * 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     * java.lang.reflect.Method.invoke(Method.java:585)
>     * 
> org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMethod(ListenerMethodInvokerImpl.java:201)
>     * 
> org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:152)
>     * 
> org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke(ListenerMethodInvokerImpl.java:123)
>     * 
> org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:64)
>     * 
> org.apache.tapestry.listener.SyntheticListener.actionTriggered(SyntheticListener.java:51)
>     * 
> org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener(ListenerInvokerTerminator.java:51)
>     * 
> $ListenerInvoker_105352e2a74.invokeListener($ListenerInvoker_105352e2a74.java)
>     * org.apache.tapestry.link.DirectLink.trigger(DirectLink.java:105)
> The fabraicated method implementation, 
> $Name_176.getUserIdentity($Name_176.java), should catch and re-throw errors 
> (with a location).

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to