java.lang.ClassNotFoundException: Classloading from system classloader disabled

Google Groups | w.prabuck...@gmail.com (JIRA) | 2 months ago
  1. 0

    [JIRA] (JENKINS-38728) FindBugs fails to load SaxParser

    Google Groups | 2 months ago | w.prabuck...@gmail.com (JIRA)
    java.lang.ClassNotFoundException: Classloading from system classloader disabled
  2. 0

    We use Hudson with IBM java: ---- $ java -version java version "1.6.0" Java(TM) SE Runtime Environment (build pxa6460sr7-20091215_02(SR7)) IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr7-20091214_49398 (JIT enabled, AOT enabled) J9VM - 20091214_049398 JIT - r9_20091123_13891 GC - 20091111_AA) JCL - 20091202_01 --- Findbugs plugin raises the following exception: (problem appear with hudson 1.380, findbugs 4.14) ---- [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] org/apache/xerces/parsers/SAXParser Classloading from system classloader disabled [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser at hudson.plugins.findbugs.parser.FindBugsParser.readXml(FindBugsParser.java:241) at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:202) at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:139) at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:99) at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:197) at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:176) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:126) at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:29) at hudson.FilePath.act(FilePath.java:753) at hudson.FilePath.act(FilePath.java:735) at hudson.plugins.findbugs.FindBugsReporter.perform(FindBugsReporter.java:122) at hudson.plugins.analysis.core.HealthAwareMavenReporter.postExecute(HealthAwareMavenReporter.java:202) at hudson.maven.MavenModuleSetBuild$Builder.postExecute(MavenModuleSetBuild.java:772) at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:300) at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:183) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:165) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:694) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:638) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: Classloading from system classloader disabled at hudson.remoting.RemoteClassLoader$ClassLoaderProxy.fetch2(RemoteClassLoader.java:399) at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315) at java.util.concurrent.FutureTask.run(FutureTask.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:736)

    Jenkins JIRA | 6 years ago | Marc Schoechlin
    java.lang.NoClassDefFoundError: org/apache/xerces/parsers/SAXParser
  3. 0

    [JENKINS-10238] Jenkins slave throws "Classloading from system classloader disabled" exception - Jenkins JIRA

    jenkins-ci.org | 3 months ago
    javax.xml.datatype.DatatypeConfigurationException: Provider org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-10238] Jenkins slave throws "Classloading from system classloader disabled" exception - Jenkins JIRA

    jenkins-ci.org | 3 months ago
    hudson.util.IOException2: remote file operation failed: /path/to/jenkins/workspace/currentjob at hudson.remoting.Channel@583a583a:SLAVE
  6. 0

    [JENKINS-10238] Jenkins slave throws "Classloading from system classloader disabled" exception - Jenkins JIRA

    jenkins-ci.org | 3 months ago
    hudson.util.IOException2: remote file operation failed: /path/to/jenkins/workspace/currentjob at hudson.remoting.Channel@583a583a:SLAVE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      Classloading from system classloader disabled

      at org.dom4j.io.SAXHelper.createXMLReader()
    2. dom4j
      SAXReader.read
      1. org.dom4j.io.SAXHelper.createXMLReader(SAXHelper.java:98)
      2. org.dom4j.io.SAXReader.createXMLReader(SAXReader.java:894)
      3. org.dom4j.io.SAXReader.getXMLReader(SAXReader.java:715)
      4. org.dom4j.io.SAXReader.read(SAXReader.java:435)
      4 frames