You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <ji...@apache.org> on 2005/09/14 22:11:54 UTC
[jira] Updated: (VELOCITY-375) bad errors description
[ http://issues.apache.org/jira/browse/VELOCITY-375?page=all ]
Nathan Bubna updated VELOCITY-375:
----------------------------------
Bugzilla Id: (was: 34576)
type: Improvement (was: Bug)
Fix Version: 1.2
Description:
Hello,
I've created toolbox.xml like this:
<toolbox><tool/></toolbox>
(yes, empty <tool/> tag). I got exception
java.lang.NullPointerException
org.apache.velocity.tools.view.ViewToolInfo.getInstance(ViewToolInfo.java:115)
org.apache.velocity.tools.view.servlet.ServletToolboxManager.getToolboxContext(ServletToolboxManager.java:354)
org.springframework.web.servlet.view.velocity.VelocityToolboxView.createVelocityContext(VelocityToolboxView.java:106)
...
Yes, I know, it's my fault, but I think that errors in toolbox.xml should be
1. Not fatal;
2. Should be better explained.
I used velocity-tools-1.1.
And also I have a request -- could you please compile velocity-tools with
debugging info? I had to compile velocity-tools by myself to find error. (I did
this before I've looked at my toolbox.xml :-)
Thanks.
was:
Hello,
I've created toolbox.xml like this:
<toolbox><tool/></toolbox>
(yes, empty <tool/> tag). I got exception
java.lang.NullPointerException
org.apache.velocity.tools.view.ViewToolInfo.getInstance(ViewToolInfo.java:115)
org.apache.velocity.tools.view.servlet.ServletToolboxManager.getToolboxContext(ServletToolboxManager.java:354)
org.springframework.web.servlet.view.velocity.VelocityToolboxView.createVelocityContext(VelocityToolboxView.java:106)
...
Yes, I know, it's my fault, but I think that errors in toolbox.xml should be
1. Not fatal;
2. Should be better explained.
I used velocity-tools-1.1.
And also I have a request -- could you please compile velocity-tools with
debugging info? I had to compile velocity-tools by myself to find error. (I did
this before I've looked at my toolbox.xml :-)
Thanks.
Version: 1.1
(was: 1.5)
Environment:
Operating System: All
Platform: All
was:
Operating System: other
Platform: Other
Assign To: (was: Velocity Developers Mailing List)
mark this as something to improve for velocity tools 1.2.
> bad errors description
> ----------------------
>
> Key: VELOCITY-375
> URL: http://issues.apache.org/jira/browse/VELOCITY-375
> Project: Velocity
> Type: Improvement
> Components: Tools
> Versions: 1.1
> Environment: Operating System: All
> Platform: All
> Reporter: Stepan Koltsov
> Priority: Minor
> Fix For: 1.2
>
> Hello,
> I've created toolbox.xml like this:
> <toolbox><tool/></toolbox>
> (yes, empty <tool/> tag). I got exception
> java.lang.NullPointerException
> org.apache.velocity.tools.view.ViewToolInfo.getInstance(ViewToolInfo.java:115)
> org.apache.velocity.tools.view.servlet.ServletToolboxManager.getToolboxContext(ServletToolboxManager.java:354)
> org.springframework.web.servlet.view.velocity.VelocityToolboxView.createVelocityContext(VelocityToolboxView.java:106)
> ...
> Yes, I know, it's my fault, but I think that errors in toolbox.xml should be
> 1. Not fatal;
> 2. Should be better explained.
> I used velocity-tools-1.1.
> And also I have a request -- could you please compile velocity-tools with
> debugging info? I had to compile velocity-tools by myself to find error. (I did
> this before I've looked at my toolbox.xml :-)
> Thanks.
--
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: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org