Details

    • Similar Issues:

      Description

      Hi,

      I get a NullPointerException, after upgrading the reverse-proxy-auth Plugin from 1.0.1 to 1.3.1:

      java.lang.NullPointerException
      at org.eclipse.jetty.util.StringUtil.getBytes(StringUtil.java:383)
      at org.eclipse.jetty.io.ByteArrayBuffer.<init>(ByteArrayBuffer.java:81)
      at org.eclipse.jetty.io.ByteArrayBuffer$CaseInsensitive.<init>(ByteArrayBuffer.java:424)
      at org.eclipse.jetty.io.BufferCache$CachedBuffer.<init>(BufferCache.java:134)
      at org.eclipse.jetty.io.BufferCache.lookup(BufferCache.java:101)
      at org.eclipse.jetty.http.HttpFields.getField(HttpFields.java:402)
      at org.eclipse.jetty.http.HttpFields.getStringField(HttpFields.java:431)
      at org.eclipse.jetty.server.Request.getHeader(Request.java:605)
      at org.jenkinsci.plugins.reverse_proxy_auth.ReverseProxySecurityRealm$1.doFilter(ReverseProxySecurityRealm.java:366)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      at org.eclipse.jetty.server.Server.handle(Server.java:370)
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      at org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
      at org.eclipse.jetty.ajp.Ajp13Connection.access$2900(Ajp13Connection.java:45)
      at org.eclipse.jetty.ajp.Ajp13Connection$RequestHandler.headerComplete(Ajp13Connection.java:237)
      at org.eclipse.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:492)
      at org.eclipse.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:158)
      at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
      at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
      at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)

        Attachments

          Activity

          Hide
          iay Ian Young added a comment -

          I have the same problem, and can confirm that reverting to the previous version of the plugin brings things back to life.

          Show
          iay Ian Young added a comment - I have the same problem, and can confirm that reverting to the previous version of the plugin brings things back to life.
          Hide
          iay Ian Young added a comment -

          Duplicate of JENKINS-21304 ?

          Show
          iay Ian Young added a comment - Duplicate of JENKINS-21304 ?
          Hide
          wfollonier Wadeck Follonier added a comment - - edited

          Due to the breaking changes introduced between 1.0.x and 1.3.x, such an update could be problematic, if you have some trouble you can follow the workaround proposed in JENKINS-21304. Otherwise open a new issue.

          Show
          wfollonier Wadeck Follonier added a comment - - edited Due to the breaking changes introduced between 1.0.x and 1.3.x, such an update could be problematic, if you have some trouble you can follow the workaround proposed in JENKINS-21304 . Otherwise open a new issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              tisoft_media tisoft_media
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: