You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <de...@tapestry.apache.org> on 2008/02/08 16:05:35 UTC

[jira] Updated: (TAPESTRY-418) Injecting an unknown state object doesn't provide line precise error details

     [ https://issues.apache.org/jira/browse/TAPESTRY-418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Fix Version/s:     (was: 4.1.5)
                   4.1.6

> Injecting an unknown state object doesn't provide line precise error details
> ----------------------------------------------------------------------------
>
>                 Key: TAPESTRY-418
>                 URL: https://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.6
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org