Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: core
    • Labels:
    • Environment:
      Linux: RHEL 3.10.0-862.14.4.el7.x86_64
      RAM: 16GB
      CPUs: 4
      Jenkins ver. 2.138.1
      JAVA:
      java-1.8.0-openjdk
      Arch : x86_64
      Epoch : 1
      Version : 1.8.0.181
      Release : 3.b13.el7_5
    • Similar Issues:

      Description

      Every time when I want to discard old data got:

      (even if there is a one error showed)

      java.lang.NullPointerException
      at java.util.TreeMap.putAll(TreeMap.java:313)
      at java.util.TreeMap.<init>(TreeMap.java:185)
      at hudson.model.Fingerprint.toString(Fingerprint.java:1415)
      at java.lang.String.valueOf(String.java:2994)
      at java.lang.StringBuilder.append(StringBuilder.java:131)
      at hudson.diagnosis.OldDataMonitor.saveAndRemoveEntries(OldDataMonitor.java:365)
      at hudson.diagnosis.OldDataMonitor.doDiscard(OldDataMonitor.java:335)
      at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
      at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
      at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
      at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
      at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
      at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
      Caused: javax.servlet.ServletException

        Attachments

          Issue Links

            Activity

            Show
            mesmero Rafal Kowalski added a comment -       Error  Hits WARNING: Skipped parameter `{0}` as it is undefined on `{1}`. Set `-D{2}=true` to allow undefined parameters to be injected as environment variables or `-D{3}=[comma-separated list]` to whitelist specific parameter names, even though it represents a security breach or `-D{2}=false` to no longer show this message. 45 WARNING: Error while serving https://xxxxxx/administrativeMonitor/OldData/discard 3 WARNING: Do not wait until jenkins/hudson is idle to perform backup. This could cause corrupt backups. 2 WARNING: Process {0} has not really finished after the join() method completion
            Hide
            annetheagile AnneTheAgile added a comment -

            Rafal Kowalski is there a command in GUI to 'discard old data'? I have not been doing such a thing, but on Jenkins ver. 2.144, I also am getting errors like yours.

            Show
            annetheagile AnneTheAgile added a comment - Rafal Kowalski is there a command in GUI to 'discard old data'? I have not been doing such a thing, but on Jenkins ver. 2.144, I also am getting errors like yours.
            Hide
            mesmero Rafal Kowalski added a comment -

            ~AnneTheAgileAnneThe

            sorry for translation but it's about Manage Old Data as on the screenshot.

            Show
            mesmero Rafal Kowalski added a comment - ~ AnneTheAgile AnneThe sorry for translation but it's about Manage Old Data as on the screenshot.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            It duplicates JENKINS-43218 

            Show
            oleg_nenashev Oleg Nenashev added a comment - It duplicates  JENKINS-43218  

              People

              • Assignee:
                Unassigned
                Reporter:
                mesmero Rafal Kowalski
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: