[JIRA] Created: (HUDSON-6348) NPE in hudson.Functions.getCrumb

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
NPE in hudson.Functions.getCrumb
--------------------------------

                 Key: HUDSON-6348
                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
             Project: Hudson
          Issue Type: Bug
          Components: core
            Reporter: tdiesler


java.lang.NullPointerException
        at hudson.Functions.getCrumb(Functions.java:1181)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
        at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
        at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
        at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
        at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
        at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
        at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
        at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
        at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
        at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
        at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
        at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
        at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
        at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
        at org.kohsuke.stapler.Stapler.service(Stapler.java:123)


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138075#action_138075 ]

tdiesler commented on HUDSON-6348:
----------------------------------

If this is a permission problem, perhaps hudson could be more verbose what specific directory cannot be accessed. Maybe the user that (in my case) Tomcat uses has read/write permissions on HUDSON_HOME, but not one of it's parents.

> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>            Reporter: tdiesler
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

tdiesler updated HUDSON-6348:
-----------------------------

    Affects Version/s: current

> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: tdiesler
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138103#action_138103 ]

mindless commented on HUDSON-6348:
----------------------------------

What Hudson version?  What are the steps to reproduce this error?

> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: tdiesler
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138117#action_138117 ]

tdiesler commented on HUDSON-6348:
----------------------------------

'current' is currently 1.355 ;-)

I believe it had todo with insufficient privileges on the HUDSON_HOME parent

> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: tdiesler
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138126#action_138126 ]

mindless commented on HUDSON-6348:
----------------------------------

The error indicates Hudson.getInstance() returned null.  Hard to guess why w/o steps to reproduce the problem.

> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: tdiesler
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139701#action_139701 ]

dma_k commented on HUDSON-6348:
-------------------------------

{{HUDSON_HOME}} is by default pointing to {{/usr/share/tomcat6/.hudson}} and after creating this directory everything went file:

{code}
mkdir /usr/share/tomcat6/.hudson
chown tomcat6:tomcat6 /usr/share/tomcat6/.hudson
{code}

Before that I had the same problem:

{code}
WARNING: Caught exception evaluating: h.getCrumb(request). Reason: java.lang.NullPointerException
java.lang.NullPointerException
        at hudson.Functions.getCrumb(Functions.java:1182)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}

When navigating to Hudson (http://localhost:8080/hudson) the following was shown:

{code}
Unable to create the home directory {0}. This is most likely a permission problem.

To change the home directory, use HUDSON_HOME environment variable or set the HUDSON_HOME system property. See Container-specific documentation for more details of how to do this.
{code}

(note: the {0} variable substitution is wrong)



> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: tdiesler
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mindless reassigned HUDSON-6348:
--------------------------------

    Assignee: mindless

> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: tdiesler
>            Assignee: mindless
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140322#action_140322 ]

mindless commented on HUDSON-6348:
----------------------------------

thanks.. I was able to reproduce the problem with that info.

> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: tdiesler
>            Assignee: mindless
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Resolved: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

scm_issue_link resolved HUDSON-6348.
------------------------------------

    Resolution: Fixed

> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: tdiesler
>            Assignee: mindless
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6348) NPE in hudson.Functions.getCrumb

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140323#action_140323 ]

scm_issue_link commented on HUDSON-6348:
----------------------------------------

Code changed in hudson
User: : mindless
Path:
 trunk/hudson/main/core/src/main/java/hudson/Functions.java
 trunk/hudson/main/core/src/main/resources/hudson/util/NoHomeDir/index.properties
 trunk/hudson/main/core/src/main/resources/hudson/util/NoHomeDir/index_de.properties
 trunk/hudson/main/core/src/main/resources/hudson/util/NoHomeDir/index_ja.properties
 trunk/hudson/main/core/src/main/resources/hudson/util/NoHomeDir/index_pt_BR.properties
http://hudson-ci.org/commit/33085
Log:
[FIXED HUDSON-6348] avoid NPE in log from Functions.getCrumb when hudson
start fails and error page is being shown.
Also fix message on NoHomeDir error page to show dir instead of {0}


> NPE in hudson.Functions.getCrumb
> --------------------------------
>
>                 Key: HUDSON-6348
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6348
>             Project: Hudson
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: tdiesler
>            Assignee: mindless
>
> java.lang.NullPointerException
> at hudson.Functions.getCrumb(Functions.java:1181)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:258)
> at org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:104)
> at org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:83)
> at org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:57)
> at org.apache.commons.jexl.parser.ASTReferenceExpression.value(ASTReferenceExpression.java:51)
> at org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:80)
> at org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpression.java:69)
> at org.apache.commons.jelly.impl.ExpressionScript.run(ExpressionScript.java:66)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:76)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.CallTagLibScript.run(CallTagLibScript.java:96)
> at org.apache.commons.jelly.tags.core.CoreTagLibrary$2.run(CoreTagLibrary.java:105)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:40)
> at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:30)
> at org.kohsuke.stapler.jelly.JellyClassTearOff.serveIndexJelly(JellyClassTearOff.java:43)
> at org.kohsuke.stapler.jelly.JellyFacet.handleIndexRequest(JellyFacet.java:83)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:508)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:435)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:123)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]