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

Problem to view the detail of the findBug information

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: findbugs-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: Linux
    • Similar Issues:

      Description

      Problem to view the detail of the findBug information

      We are using Hudson with the validation plugin. The main overview is displayed
      correctly (http://server/hudson/job/smsservice-doc-HEAD/10/findbugsResult/).
      But after clicking to a package info the following exception occurs
      http://server/hudson/job/smsservice-doc-HEAD/10/findbugsResult/package/

      Exception:
      javax.servlet.ServletException: java.util.NoSuchElementException: Package not
      found: xx.xxxxx.utils.misc.web
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:425)
      org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:369)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:416)
      org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:369)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:416)
      org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:248)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch
      (NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:416)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:352)
      org.kohsuke.stapler.Stapler.service(Stapler.java:112)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:52)
      hudson.security.UnwrapSecurityExceptionFilter.doFilter
      (UnwrapSecurityExceptionFilter.java:28)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.ui.ExceptionTranslationFilter.doFilter
      (ExceptionTranslationFilter.java:166)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter
      (AnonymousProcessingFilter.java:125)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.ui.AbstractProcessingFilter.doFilter
      (AbstractProcessingFilter.java:271)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter
      (RememberMeProcessingFilter.java:142)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter
      (BasicProcessingFilter.java:173)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter
      (HttpSessionContextIntegrationFilter.java:249)
      hudson.security.HttpSessionContextIntegrationFilter2.doFilter
      (HttpSessionContextIntegrationFilter2.java:42)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      hudson.security.ChainedServletFilter.doFilter
      (ChainedServletFilter.java:44)
      hudson.security.HudsonFilter.doFilter(HudsonFilter.java:85)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
      (ReplyHeaderFilter.java:96)

      java.util.NoSuchElementException: Package not found: xx.xxxx.utils.misc.web
      hudson.plugins.findbugs.util.model.MavenModule.getPackage
      (MavenModule.java:109)
      hudson.plugins.findbugs.FindBugsResult.getDynamic
      (FindBugsResult.java:512)
      sun.reflect.GeneratedMethodAccessor747.invoke(Unknown Source)
      sun.reflect.DelegatingMethodAccessorImpl.invoke
      (DelegatingMethodAccessorImpl.java:25)
      java.lang.reflect.Method.invoke(Method.java:585)
      org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:103)
      org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:369)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:416)
      org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:369)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:416)
      org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:369)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:416)
      org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:248)
      org.kohsuke.stapler.NameBasedDispatcher.dispatch
      (NameBasedDispatcher.java:30)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:416)
      org.kohsuke.stapler.Stapler.invoke(Stapler.java:352)
      org.kohsuke.stapler.Stapler.service(Stapler.java:112)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:52)
      hudson.security.UnwrapSecurityExceptionFilter.doFilter
      (UnwrapSecurityExceptionFilter.java:28)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.ui.ExceptionTranslationFilter.doFilter
      (ExceptionTranslationFilter.java:166)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter
      (AnonymousProcessingFilter.java:125)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.ui.AbstractProcessingFilter.doFilter
      (AbstractProcessingFilter.java:271)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter
      (RememberMeProcessingFilter.java:142)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter
      (BasicProcessingFilter.java:173)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter
      (HttpSessionContextIntegrationFilter.java:249)
      hudson.security.HttpSessionContextIntegrationFilter2.doFilter
      (HttpSessionContextIntegrationFilter2.java:42)
      hudson.security.ChainedServletFilter$1.doFilter
      (ChainedServletFilter.java:55)
      hudson.security.ChainedServletFilter.doFilter
      (ChainedServletFilter.java:44)
      hudson.security.HudsonFilter.doFilter(HudsonFilter.java:85)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter
      (ReplyHeaderFilter.java:96)

        Attachments

        1. findbugs.xml.txt
          0.6 kB
        2. findbugs-warnings.xml
          242 kB
        3. findbugsXml.xml.txt
          3 kB
        4. findbugXmlxml.txt.txt
          5 kB

          Issue Links

            Activity

            Hide
            pbolle pbolle added a comment -

            Thank you for the fast response.
            We have many warnings in the packages but in one project we have only one
            warning. The most projects contains a findbugs.xml.
            By the way we are using a free style project to build our maven project.
            I can't find a findbugs-warinigs.xml in our project.
            I need a approval of my boss to send the log file. In the case of a problem the
            only possibility would be to create a own example project.

            Show
            pbolle pbolle added a comment - Thank you for the fast response. We have many warnings in the packages but in one project we have only one warning. The most projects contains a findbugs.xml. By the way we are using a free style project to build our maven project. I can't find a findbugs-warinigs.xml in our project. I need a approval of my boss to send the log file. In the case of a problem the only possibility would be to create a own example project.
            Hide
            drulli Ulli Hafner added a comment -

            The findbugs-warnings.xml file should be in the folder:
            server/hudson/job/smsservice-doc-HEAD/builds/[build date]/findbugs-warnings.xml.

            Would be cool if you could attach at least this file...

            Show
            drulli Ulli Hafner added a comment - The findbugs-warnings.xml file should be in the folder: server/hudson/job/smsservice-doc-HEAD/builds/ [build date] /findbugs-warnings.xml. Would be cool if you could attach at least this file...
            Hide
            pbolle pbolle added a comment -

            Created an attachment (id=236)
            findbugs-warnings.xml

            Show
            pbolle pbolle added a comment - Created an attachment (id=236) findbugs-warnings.xml
            Hide
            drulli Ulli Hafner added a comment -

            Ok, I managed it to reproduce the problem. No further input needed. Fix will
            follow soon...

            Show
            drulli Ulli Hafner added a comment - Ok, I managed it to reproduce the problem. No further input needed. Fix will follow soon...
            Hide
            drulli Ulli Hafner added a comment -

            Fixed in HEAD.

            Note: If two pom.xml files use the same <name> property then now the module name
            is made unique using a counter.

            Show
            drulli Ulli Hafner added a comment - Fixed in HEAD. Note: If two pom.xml files use the same <name> property then now the module name is made unique using a counter.

              People

              • Assignee:
                drulli Ulli Hafner
                Reporter:
                pbolle pbolle
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: