You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Ron Piterman (JIRA)" <ta...@jakarta.apache.org> on 2006/12/10 11:59:20 UTC
[jira] Created: (TAPESTRY-1181) NUll Pointer exception in shell
component
NUll Pointer exception in shell component
-----------------------------------------
Key: TAPESTRY-1181
URL: http://issues.apache.org/jira/browse/TAPESTRY-1181
Project: Tapestry
Issue Type: Bug
Components: Framework
Affects Versions: 4.1.1
Reporter: Ron Piterman
Stack Trace:
* org.apache.tapestry.html.Shell.writeStylesheetLink(Shell.java:177)
* org.apache.tapestry.html.Shell.renderComponent(Shell.java:132)
* org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
* org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:173)
* org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
* org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
* org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:173)
* org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
* org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
* org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:171)
* org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:246)
* org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:404)
If this is my mistake, thus I didn't configure shell right ( used wrong parameters or parameters combination) , at least there should be a nicer message telling me what went wrong...
source is:
<component id="shell" type="Shell">
<binding name="delegate" value="delegate"/>
<binding name="title" value="title"/>
<binding name="stylesheets" value="stylesheets"/>
</component>
--
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Updated: (TAPESTRY-1181) NUll Pointer exception in shell
component
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1181?page=all ]
Jesse Kuhnert updated TAPESTRY-1181:
------------------------------------
Fix Version/s: 4.1.1
> NUll Pointer exception in shell component
> -----------------------------------------
>
> Key: TAPESTRY-1181
> URL: http://issues.apache.org/jira/browse/TAPESTRY-1181
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.1.1
> Reporter: Ron Piterman
> Fix For: 4.1.1
>
>
> Stack Trace:
> * org.apache.tapestry.html.Shell.writeStylesheetLink(Shell.java:177)
> * org.apache.tapestry.html.Shell.renderComponent(Shell.java:132)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
> * org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:173)
> * org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
> * org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:173)
> * org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
> * org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:171)
> * org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:246)
> * org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:404)
> If this is my mistake, thus I didn't configure shell right ( used wrong parameters or parameters combination) , at least there should be a nicer message telling me what went wrong...
> source is:
> <component id="shell" type="Shell">
> <binding name="delegate" value="delegate"/>
> <binding name="title" value="title"/>
> <binding name="stylesheets" value="stylesheets"/>
> </component>
--
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Commented: (TAPESTRY-1181) NUll Pointer exception in shell
component
Posted by "Ron Piterman (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1181?page=comments#action_12457176 ]
Ron Piterman commented on TAPESTRY-1181:
----------------------------------------
the reason for the exception was I used @InjectAsset instead of @Asset - it would be nice if injecting an asset which is not defined in the jwc/page definition will result in an error similar of defining an asset which does not exist.
> NUll Pointer exception in shell component
> -----------------------------------------
>
> Key: TAPESTRY-1181
> URL: http://issues.apache.org/jira/browse/TAPESTRY-1181
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.1.1
> Reporter: Ron Piterman
>
> Stack Trace:
> * org.apache.tapestry.html.Shell.writeStylesheetLink(Shell.java:177)
> * org.apache.tapestry.html.Shell.renderComponent(Shell.java:132)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
> * org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:173)
> * org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
> * org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:173)
> * org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
> * org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:171)
> * org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:246)
> * org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:404)
> If this is my mistake, thus I didn't configure shell right ( used wrong parameters or parameters combination) , at least there should be a nicer message telling me what went wrong...
> source is:
> <component id="shell" type="Shell">
> <binding name="delegate" value="delegate"/>
> <binding name="title" value="title"/>
> <binding name="stylesheets" value="stylesheets"/>
> </component>
--
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
[jira] Resolved: (TAPESTRY-1181) NUll Pointer exception in shell
component
Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
[ http://issues.apache.org/jira/browse/TAPESTRY-1181?page=all ]
Jesse Kuhnert resolved TAPESTRY-1181.
-------------------------------------
Resolution: Fixed
Good idea! Fixed it up to properly detect missing assets.
> NUll Pointer exception in shell component
> -----------------------------------------
>
> Key: TAPESTRY-1181
> URL: http://issues.apache.org/jira/browse/TAPESTRY-1181
> Project: Tapestry
> Issue Type: Bug
> Components: Framework
> Affects Versions: 4.1.1
> Reporter: Ron Piterman
> Fix For: 4.1.1
>
>
> Stack Trace:
> * org.apache.tapestry.html.Shell.writeStylesheetLink(Shell.java:177)
> * org.apache.tapestry.html.Shell.renderComponent(Shell.java:132)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
> * org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:173)
> * org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
> * org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:173)
> * org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
> * org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:710)
> * org.apache.tapestry.services.impl.DefaultResponseBuilder.render(DefaultResponseBuilder.java:171)
> * org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:246)
> * org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:404)
> If this is my mistake, thus I didn't configure shell right ( used wrong parameters or parameters combination) , at least there should be a nicer message telling me what went wrong...
> source is:
> <component id="shell" type="Shell">
> <binding name="delegate" value="delegate"/>
> <binding name="title" value="title"/>
> <binding name="stylesheets" value="stylesheets"/>
> </component>
--
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org