You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/03/29 06:20:44 UTC
[jira] Created: (CONTINUUM-643) NPE in addPathInfo
NPE in addPathInfo
------------------
Key: CONTINUUM-643
URL: http://jira.codehaus.org/browse/CONTINUUM-643
Project: Continuum
Type: Bug
Components: Web interface
Versions: 1.0.3
Reporter: Brett Porter
Priority: Minor
I get this exception in the logs, coming from a velocity template:
java.lang.NullPointerException
at
org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
It seems to be when the database might already have problems, so I'm deferring this until WW is in place to see if it goes way. It doesn't seem to have any major side effects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (CONTINUUM-643) NPE in addPathInfo
Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Venisse closed CONTINUUM-643.
--------------------------------------
Assignee: Emmanuel Venisse
Resolution: Won't Fix
Fix Version/s: (was: 1.1-alpha-3)
1.0.3 velocity issues won't be fixed
> NPE in addPathInfo
> ------------------
>
> Key: CONTINUUM-643
> URL: http://jira.codehaus.org/browse/CONTINUUM-643
> Project: Continuum
> Issue Type: Bug
> Components: Web interface
> Affects Versions: 1.0.3
> Reporter: Brett Porter
> Assignee: Emmanuel Venisse
> Priority: Minor
>
> I get this exception in the logs, coming from a velocity template:
> java.lang.NullPointerException
> at
> org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
> It seems to be when the database might already have problems, so I'm deferring this until WW is in place to see if it goes way. It doesn't seem to have any major side effects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (CONTINUUM-643) NPE in addPathInfo
Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-643?page=all ]
Emmanuel Venisse updated CONTINUUM-643:
---------------------------------------
Fix Version: 1.1
> NPE in addPathInfo
> ------------------
>
> Key: CONTINUUM-643
> URL: http://jira.codehaus.org/browse/CONTINUUM-643
> Project: Continuum
> Type: Bug
> Components: Web interface
> Versions: 1.0.3
> Reporter: Brett Porter
> Priority: Minor
> Fix For: 1.1
>
>
> I get this exception in the logs, coming from a velocity template:
> java.lang.NullPointerException
> at
> org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
> It seems to be when the database might already have problems, so I'm deferring this until WW is in place to see if it goes way. It doesn't seem to have any major side effects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Updated: (CONTINUUM-643) NPE in addPathInfo
Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesse McConnell updated CONTINUUM-643:
--------------------------------------
Fix Version/s: (was: 1.1-alpha-1)
1.1-alpha-2
> NPE in addPathInfo
> ------------------
>
> Key: CONTINUUM-643
> URL: http://jira.codehaus.org/browse/CONTINUUM-643
> Project: Continuum
> Issue Type: Bug
> Components: Web interface
> Affects Versions: 1.0.3
> Reporter: Brett Porter
> Priority: Minor
> Fix For: 1.1-alpha-2
>
>
> I get this exception in the logs, coming from a velocity template:
> java.lang.NullPointerException
> at
> org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
> It seems to be when the database might already have problems, so I'm deferring this until WW is in place to see if it goes way. It doesn't seem to have any major side effects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-643) NPE in addPathInfo
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-643?page=comments#action_62276 ]
Brett Porter commented on CONTINUUM-643:
----------------------------------------
will do next time I see it. I don't have any expectation to fix it in the 1.0.x branch though
> NPE in addPathInfo
> ------------------
>
> Key: CONTINUUM-643
> URL: http://jira.codehaus.org/browse/CONTINUUM-643
> Project: Continuum
> Type: Bug
> Components: Web interface
> Versions: 1.0.3
> Reporter: Brett Porter
> Priority: Minor
>
>
> I get this exception in the logs, coming from a velocity template:
> java.lang.NullPointerException
> at
> org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
> It seems to be when the database might already have problems, so I'm deferring this until WW is in place to see if it goes way. It doesn't seem to have any major side effects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-643) NPE in addPathInfo
Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-643?page=comments#action_62298 ]
Emmanuel Venisse commented on CONTINUUM-643:
--------------------------------------------
I reproduce it.
This error appears when a user call working copy or build results screens with an id project that doesn't exist in database. So it isn't an important error
jvm 1 | 2006-03-29 16:59:18,687 [SocketListener0-0] WARN SQL - Object with id "100" not f
ound !
jvm 1 | 2006-03-29 16:59:18,687 [SocketListener0-0] WARN ViewContextPopulator - Cannot find a value for th
e expression getProject(#id)in org.apache.maven.continuum.DefaultContinuum@3fe94a
jvm 1 | 2006-03-29 16:59:18,703 [SocketListener0-0] ERROR VelocityComponent - Method addPathInfo threw e
xception for reference $link in template screens/WorkingCopy.vm at [14,26]
jvm 1 | 2006-03-29 16:59:18,703 [SocketListener0-0] ERROR Renderer:velocity - Error rendering template:
jvm 1 | java.lang.NullPointerException
jvm 1 | at org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
jvm 1 | at java.lang.reflect.Method.invoke(Method.java:585)
jvm 1 | at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
jvm 1 | at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
jvm 1 | at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
jvm 1 | at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
jvm 1 | at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
jvm 1 | at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
jvm 1 | at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
jvm 1 | at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
jvm 1 | at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
jvm 1 | at org.apache.velocity.Template.merge(Template.java:256)
jvm 1 | at org.codehaus.plexus.summit.renderer.VelocityRenderer.render(VelocityRenderer.java:70)
jvm 1 | at org.codehaus.plexus.summit.renderer.AbstractRenderer.render(AbstractRenderer.java:42)
jvm 1 | at org.codehaus.plexus.summit.display.ClassicBufferedDisplay.render(ClassicBufferedDisplay.java:88)
jvm 1 | at org.codehaus.plexus.summit.pipeline.valve.DisplayValve.invoke(DisplayValve.java:48)
jvm 1 | at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70)
jvm 1 | at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
jvm 1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
jvm 1 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
jvm 1 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
jvm 1 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
jvm 1 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
jvm 1 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
jvm 1 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
jvm 1 | at org.mortbay.http.HttpServer.service(HttpServer.java:879)
jvm 1 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
jvm 1 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
jvm 1 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
jvm 1 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
jvm 1 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
jvm 1 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)
> NPE in addPathInfo
> ------------------
>
> Key: CONTINUUM-643
> URL: http://jira.codehaus.org/browse/CONTINUUM-643
> Project: Continuum
> Type: Bug
> Components: Web interface
> Versions: 1.0.3
> Reporter: Brett Porter
> Priority: Minor
>
>
> I get this exception in the logs, coming from a velocity template:
> java.lang.NullPointerException
> at
> org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
> It seems to be when the database might already have problems, so I'm deferring this until WW is in place to see if it goes way. It doesn't seem to have any major side effects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (CONTINUUM-643) NPE in addPathInfo
Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-643?page=comments#action_62269 ]
Emmanuel Venisse commented on CONTINUUM-643:
--------------------------------------------
can you attach the full stack trace?
I can check the value of object passed to addPathInfo, but i'm not sure it will be good.
> NPE in addPathInfo
> ------------------
>
> Key: CONTINUUM-643
> URL: http://jira.codehaus.org/browse/CONTINUUM-643
> Project: Continuum
> Type: Bug
> Components: Web interface
> Versions: 1.0.3
> Reporter: Brett Porter
> Priority: Minor
>
>
> I get this exception in the logs, coming from a velocity template:
> java.lang.NullPointerException
> at
> org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
> It seems to be when the database might already have problems, so I'm deferring this until WW is in place to see if it goes way. It doesn't seem to have any major side effects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira