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

anonymous class org.jenkinsci.plugins.durabletask.FileMonitoringTask$FileMonitoringController$1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: durable-task-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.150.1
      centos 7.3
      durable-task-plugin 1.28
    • Similar Issues:
    • Released As:
      durable-task 1.35

      Description

      I found this warning in the log.

      Dec 12, 2018 12:02:35 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
      WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.durabletask.FileMonitoringTask$FileMonitoringController$1 in file:/var/lib/jenkins/plugins/durable-task/WEB-INF/lib/durable-task.jar;
      see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
      

        Attachments

          Issue Links

            Activity

            nfalco Nikolas Falco created issue -
            Hide
            mfadin M Fadin added a comment - - edited

            on version Jenkins ver. 2.176.1 and still keep getting this issue in the logs.

             

            Nikolas Falco have you found a fix for this issue?

            Show
            mfadin M Fadin added a comment - - edited on version  Jenkins ver. 2.176.1  and still keep getting this issue in the logs.   Nikolas Falco have you found a fix for this issue?
            Hide
            nfalco Nikolas Falco added a comment -

            No, i suppose they still have to fix.

            Show
            nfalco Nikolas Falco added a comment - No, i suppose they still have to fix.
            gadelat Gabriel Ostrolucký made changes -
            Field Original Value New Value
            Comment [ Also have this problem. I believe it causes following error causing slave crashing

             
            {code:java}
            Feb 11, 2020 1:23:11 PM hudson.remoting.Engine startEngine
            WARNING: No Working Directory. Using the legacy JAR Cache location: /root/.jenkins/cache/jars
            Feb 11, 2020 1:23:37 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
            WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.durabletask.FileMonitoringTask$FileMonitoringController$1; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            Feb 11, 2020 1:30:58 PM org.jenkinsci.remoting.util.AnonymousClassWarnings warn
            WARNING: Attempt to (de-)serialize anonymous class org.jenkinsci.plugins.jvctg.perform.JvctgPerformer$2; see: https://jenkins.io/redirect/serialization-of-anonymous-classes/
            Feb 12, 2020 6:52:59 AM org.apache.commons.digester3.Digester fatalError
            SEVERE: Parse Fatal Error at line 3 column 6: The processing instruction target matching "[xX][mM][lL]" is not allowed.
            org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 6; The processing instruction target matching "[xX][mM][lL]" is not allowed.
                    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
                    at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
                    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
                    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
                    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
                    at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
                    at org.apache.xerces.impl.XMLScanner.scanPIData(Unknown Source)
                    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unknown Source)
                    at org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source)
                    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
                    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
                    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
                    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
                    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
                    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
                    at org.apache.commons.digester3.Digester.parse(Digester.java:1642)
                    at org.apache.commons.digester3.Digester.parse(Digester.java:1745)
                    at hudson.plugins.checkstyle.parser.CheckStyleParser.parse(CheckStyleParser.java:65)
                    at hudson.plugins.analysis.core.AbstractAnnotationParser.parse(AbstractAnnotationParser.java:54)
                    at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:323)
                    at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:281)
                    at hudson.plugins.analysis.core.FilesParser.parserCollectionOfFiles(FilesParser.java:232)
                    at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:203)
                    at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:31)
                    at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3069)
                    at hudson.remoting.UserRequest.perform(UserRequest.java:212)
                    at hudson.remoting.UserRequest.perform(UserRequest.java:54)
                    at hudson.remoting.Request$2.run(Request.java:369)
                    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
                    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                    at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
                    at java.lang.Thread.run(Thread.java:748)
            {code}
              ]
            Hide
            andreasmandel Andreas Mandel added a comment -

            Still valid for Jenkins 2.222.1 & durable-task plugin 1.34

            Show
            andreasmandel Andreas Mandel added a comment - Still valid for Jenkins 2.222.1 & durable-task plugin 1.34
            dnusbaum Devin Nusbaum made changes -
            Assignee Devin Nusbaum [ dnusbaum ]
            Hide
            dnusbaum Devin Nusbaum added a comment -

            I opened a PR to get rid of the warning: https://github.com/jenkinsci/durable-task-plugin/pull/126.

            Show
            dnusbaum Devin Nusbaum added a comment - I opened a PR to get rid of the warning:  https://github.com/jenkinsci/durable-task-plugin/pull/126 .
            dnusbaum Devin Nusbaum made changes -
            Remote Link This issue links to "jenkinsci/durable-task-plugin#126 (Web Link)" [ 25709 ]
            dnusbaum Devin Nusbaum made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            dnusbaum Devin Nusbaum made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            Hide
            dnusbaum Devin Nusbaum added a comment -

            A fix for this issue was just released in Durable Task plugin version 1.35.

            Show
            dnusbaum Devin Nusbaum added a comment - A fix for this issue was just released in Durable Task plugin version 1.35.
            dnusbaum Devin Nusbaum made changes -
            Released As durable-task 1.35
            Resolution Fixed [ 1 ]
            Status In Review [ 10005 ] Resolved [ 5 ]

              People

              Assignee:
              dnusbaum Devin Nusbaum
              Reporter:
              nfalco Nikolas Falco
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: