You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by co...@jakarta.apache.org on 2004/09/01 07:52:50 UTC

[jira] Commented: (JELLY-101) Misleading error message when tag set method throws RuntimeException

The following comment has been added to this issue:

     Author: dion gillard
    Created: Tue, 31 Aug 2004 10:51 PM
       Body:
It looks like this is a beanutils issue, as it is throwing the exception 
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JELLY-101?page=comments#action_37994

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JELLY-101

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-101
    Summary: Misleading error message when tag set method throws RuntimeException
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: jelly
 Components: 
             core / taglib.core

   Assignee: 
   Reporter: Nathan Coast

    Created: Sun, 4 Jan 2004 5:06 PM
    Updated: Tue, 31 Aug 2004 10:51 PM

Description:
message below when 'setBing' threw a NullPointerException

Property 'bing' has no write method
com.werken.werkz.UnattainableGoalException: Unable to obtain goal [ft:generate] -- file:/D:/apache/m
aven/plugins/maven-foldertree-plugin-1.0/:58:13: <foldertree:foldertree> Property 'bing' has no writ
e method
        at com.werken.werkz.Goal.fire(Goal.java:646)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
        at org.apache.maven.cli.App.doMain(App.java:543)
        at org.apache.maven.cli.App.main(App.java:1109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.commons.jelly.JellyTagException: file:/D:/apache/maven/plugins/maven-foldertree-plugin-1.
0/:58:13: <foldertree:foldertree> Property 'bing' has no write method
        at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:683)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:151)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
        at org.apache.maven.cli.App.doMain(App.java:543)
        at org.apache.maven.cli.App.main(App.java:1109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
Caused by: java.lang.IllegalArgumentException: Property 'bing' has no write method
        at org.apache.commons.beanutils.ConvertingWrapDynaBean.set(ConvertingWrapDynaBean.java:116)
        at org.apache.commons.jelly.DynaBeanTagSupport.setAttribute(DynaBeanTagSupport.java:99)
        at org.apache.commons.jelly.impl.DynamicBeanTag.setAttribute(DynamicBeanTag.java:178)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:142)
        ... 15 more
Root cause
java.lang.IllegalArgumentException: Property 'bing' has no write method
        at org.apache.commons.beanutils.ConvertingWrapDynaBean.set(ConvertingWrapDynaBean.java:116)
        at org.apache.commons.jelly.DynaBeanTagSupport.setAttribute(DynaBeanTagSupport.java:99)
        at org.apache.commons.jelly.impl.DynamicBeanTag.setAttribute(DynamicBeanTag.java:178)
        at org.apache.commons.jelly.impl.StaticTagScript.run(StaticTagScript.java:142)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
        at com.werken.werkz.jelly.GoalTag$1.performAction(GoalTag.java:128)
        at com.werken.werkz.Goal.fire(Goal.java:639)
        at com.werken.werkz.Goal.attain(Goal.java:575)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:448)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:348)
        at org.apache.maven.cli.App.doMain(App.java:543)
        at org.apache.maven.cli.App.main(App.java:1109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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