Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22298

failing upgrade to 1.3.3

XMLWordPrintable

      I have been a long time user of the Reverse Proxy Auth Plugin. We decided it was time to move our Jenkins instance forward to newest LTS and upgrade all plugins. I was able to upgrade all except the the Reverse Proxy Auth Plugin.

      Version I have running is 1.0.1. I am trying to run 1.3.3. The stack trace I get is [1]. Version 1.0.1 did not support LDAP and I am not planing to use that part of the functionality.

      The stack trace [1] is repeated with different entry points:

      Mar 21, 2014 10:07:11 AM hudson.ExpressionFactory2$JexlExpression evaluate
      WARNING: Caught exception evaluating: it.allViewsAsJson in /jenkins/static/954779d1/css/style.css. Reason: java.lang.reflect.InvocationTargetException

      Mar 21, 2014 10:08:14 AM hudson.ExpressionFactory2$JexlExpression evaluate
      WARNING: Caught exception evaluating: it.allViewsAsJson in /jenkins/static/954779d1/scripts/behavior.js. Reason: java.lang.reflect.InvocationTargetException

      Going back to version 1.0.1 all is working as expected.

      If more info is needed I am willing provid it.

      [1]
      WARNING: Caught exception evaluating: it.allViewsAsJson in /jenkins/job/Fake_name/view. Reason: java.lang.reflect.InvocationTargetException
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.commons.jexl.util.PropertyExecutor.execute(PropertyExecutor.java:125)
      at org.apache.commons.jexl.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:314)
      at org.apache.commons.jexl.parser.ASTArrayAccess.evaluateExpr(ASTArrayAccess.java:185)
      at org.apache.commons.jexl.parser.ASTIdentifier.execute(ASTIdentifier.java:75)
      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 hudson.ExpressionFactory2$JexlExpression.evaluate(ExpressionFactory2.java:74)
      at org.apache.commons.jelly.parser.EscapingExpression.evaluate(EscapingExpression.java:24)
      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:99)
      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.JellyViewScript.run(JellyViewScript.java:81)
      at org.kohsuke.stapler.jelly.IncludeTag.doTag(IncludeTag.java:147)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:161)
      at org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
      at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:269)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
      at org.kohsuke.stapler.jelly.ReallyStaticTagLibrary$1.run(ReallyStaticTagLibrary.java:99)
      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:120)
      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.JellyViewScript.run(JellyViewScript.java:81)
      at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:63)
      at org.kohsuke.stapler.jelly.DefaultScriptInvoker.invokeScript(DefaultScriptInvoker.java:53)
      at org.kohsuke.stapler.jelly.JellyFacet$1.dispatch(JellyFacet.java:95)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
      at hudson.init.impl.InstallUncaughtExceptionHandler$1.reportException(InstallUncaughtExceptionHandler.java:25)
      at org.kohsuke.stapler.compression.CompressionFilter.reportException(CompressionFilter.java:63)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:55)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:227)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150)
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.StackOverflowError
      at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
      at sun.nio.cs.StreamEncoder.flush(Unknown Source)
      at java.io.OutputStreamWriter.flush(Unknown Source)
      at java.util.logging.StreamHandler.flush(Unknown Source)
      at java.util.logging.ConsoleHandler.publish(Unknown Source)
      at java.util.logging.Logger.log(Unknown Source)
      at java.util.logging.Logger.doLog(Unknown Source)
      at java.util.logging.Logger.log(Unknown Source)
      at java.util.logging.Logger.finer(Unknown Source)
      at hudson.security.SidACL._hasPermission(SidACL.java:71)
      at hudson.security.SidACL.hasPermission(SidACL.java:51)
      at hudson.security.ACL.hasPermission(ACL.java:64)
      at hudson.model.AbstractItem.hasPermission(AbstractItem.java:447)
      at jenkins.model.Jenkins.getItems(Jenkins.java:1368)
      at jenkins.model.Jenkins.getItems(Jenkins.java:311)
      at hudson.model.AllView.getItems(AllView.java:76)
      at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      at hudson.security.ACL.hasPermission(ACL.java:64)
      at hudson.model.View.hasPermission(View.java:580)
      at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      at jenkins.model.Jenkins.getViews(Jenkins.java:1461)
      at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      at hudson.views.UnclassifiedJobsFilter.doFilter(UnclassifiedJobsFilter.java:27)
      at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      at hudson.model.ListView.getItems(ListView.java:180)
      at hudson.model.ListView.getItems(ListView.java:60)
      at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      at hudson.security.ACL.hasPermission(ACL.java:64)
      at hudson.model.View.hasPermission(View.java:580)
      at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      at jenkins.model.Jenkins.getViews(Jenkins.java:1461)
      at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      at hudson.views.UnclassifiedJobsFilter.doFilter(UnclassifiedJobsFilter.java:27)
      at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      at hudson.model.ListView.getItems(ListView.java:180)
      at hudson.model.ListView.getItems(ListView.java:60)
      at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      at hudson.security.ACL.hasPermission(ACL.java:64)
      at hudson.model.View.hasPermission(View.java:580)
      at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      at jenkins.model.Jenkins.getViews(Jenkins.java:1461)
      at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      at hudson.views.UnclassifiedJobsFilter.doFilter(UnclassifiedJobsFilter.java:27)
      at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      at hudson.model.ListView.getItems(ListView.java:180)
      at hudson.model.ListView.getItems(ListView.java:60)
      at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      at hudson.security.ACL.hasPermission(ACL.java:64)
      at hudson.model.View.hasPermission(View.java:580)
      at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      at jenkins.model.Jenkins.getViews(Jenkins.java:1461)
      at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      at hudson.views.UnclassifiedJobsFilter.doFilter(UnclassifiedJobsFilter.java:27)
      at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      at hudson.model.ListView.getItems(ListView.java:180)
      at hudson.model.ListView.getItems(ListView.java:60)
      at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      at hudson.security.ACL.hasPermission(ACL.java:64)
      at hudson.model.View.hasPermission(View.java:580)
      at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      at jenkins.model.Jenkins.getViews(Jenkins.java:1461)
      at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      at hudson.views.UnclassifiedJobsFilter.doFilter(UnclassifiedJobsFilter.java:27)
      at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      at hudson.model.ListView.getItems(ListView.java:180)
      at hudson.model.ListView.getItems(ListView.java:60)
      at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      at hudson.security.ACL.hasPermission(ACL.java:64)
      at hudson.model.View.hasPermission(View.java:580)
      at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      at jenkins.model.Jenkins.getViews(Jenkins.java:1461)
      at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      at hudson.views.UnclassifiedJobsFilter.doFilter(UnclassifiedJobsFilter.java:27)
      at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)
      at hudson.model.ListView.getItems(ListView.java:180)
      at hudson.model.ListView.getItems(ListView.java:60)
      at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)

      [...]

      at hudson.security.AuthorizationStrategy$1.hasPermission(AuthorizationStrategy.java:104)
      at hudson.security.ACL.hasPermission(ACL.java:64)
      at hudson.model.View.hasPermission(View.java:580)
      at hudson.model.ViewGroupMixIn.getViews(ViewGroupMixIn.java:115)
      at jenkins.model.Jenkins.getViews(Jenkins.java:1461)
      at hudson.views.OtherViewsFilter.getAllViews(OtherViewsFilter.java:152)
      at hudson.views.UnclassifiedJobsFilter.doFilter(UnclassifiedJobsFilter.java:27)
      at hudson.views.AbstractIncludeExcludeJobFilter.filter(AbstractIncludeExcludeJobFilter.java:57)

      Mar 21, 2014 10:06:16 AM hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness initializeRepository
      INFO: SCM repository initialization done.
      Mar 21, 2014 10:06:16 AM hudson.WebAppMain$3 run
      INFO: Jenkins is fully up and running

            Unassigned Unassigned
            asmundo Asmund Ostvold
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: