You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/07/20 19:04:48 UTC
[jira] Updated: (TAPESTRY-418) Injecting an unknown state object doesn't provide line precise error details
[ http://issues.apache.org/jira/browse/TAPESTRY-418?page=all ]
Howard M. Lewis Ship updated TAPESTRY-418:
------------------------------------------
Component: Framework
Summary: Injecting an unknown state object doesn't provide line precise error details (was: Injecting an unknown state object doesn')
Description:
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).
was:
Version: 4.0
Priority: Minor (was: Major)
> 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
> Type: Bug
> Components: Framework
> Versions: 4.0
> Reporter: Howard M. Lewis Ship
> Priority: Minor
>
> 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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org