java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent

Pentaho BI Platform Tracking | Rowell Belen | 4 years ago
  1. 0

    4391 [main] DEBUG org.pentaho.reporting.libraries.base.util.ObjectUtilities - Specified class org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.SVGDrawableFactoryModule cannot be loaded [NOCLASSDEFERROR]. java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.WrapperSVGDrawableFactoryModule.<init>(WrapperSVGDrawableFactoryModule.java:35) at sun.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.libraries.resourceloader.factory.AbstractResourceFactory.initializeDefaults(AbstractResourceFactory.java:162) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.registerDefaultFactories(DefaultResourceManagerBackend.java:436) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaultFactories(ResourceManager.java:541) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaults(ResourceManager.java:532) at org.pentaho.reporting.engine.classic.core.AbstractDataFactory.<init>(AbstractDataFactory.java:38) at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.SimplePmdDataFactory.<init>(SimplePmdDataFactory.java:103) at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdDataFactory.<init>(PmdDataFactory.java:44) at com.pentaho.test.iadhoc.service.util.DataFactoryConverterTest.testConvertPmdDataFactory(DataFactoryConverterTest.java:130) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906) Caused by: java.lang.ClassNotFoundException: org.apache.batik.bridge.UserAgent at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 36 more 4391 [main] DEBUG org.pentaho.reporting.libraries.base.util.ObjectUtilities - Specified class org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.SVGDrawableFactoryModule cannot be loaded [NOCLASSDEFERROR]. java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.WrapperSVGDrawableFactoryModule.<init>(WrapperSVGDrawableFactoryModule.java:35) at sun.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.libraries.resourceloader.factory.AbstractResourceFactory.initializeDefaults(AbstractResourceFactory.java:162) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.registerDefaultFactories(DefaultResourceManagerBackend.java:436) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaultFactories(ResourceManager.java:541) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaults(ResourceManager.java:532) at org.pentaho.reporting.engine.classic.core.AbstractDataFactory.<init>(AbstractDataFactory.java:38) at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.SimplePmdDataFactory.<init>(SimplePmdDataFactory.java:103) at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdDataFactory.<init>(PmdDataFactory.java:44) at com.pentaho.test.iadhoc.service.util.DataFactoryConverterTest.testConvertPmdDataFactory(DataFactoryConverterTest.java:130) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906) Caused by: java.lang.ClassNotFoundException: org.apache.batik.bridge.UserAgent at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 36 more

    Pentaho BI Platform Tracking | 4 years ago | Rowell Belen
    java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent
  2. 0

    4391 [main] DEBUG org.pentaho.reporting.libraries.base.util.ObjectUtilities - Specified class org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.SVGDrawableFactoryModule cannot be loaded [NOCLASSDEFERROR]. java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.WrapperSVGDrawableFactoryModule.<init>(WrapperSVGDrawableFactoryModule.java:35) at sun.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.libraries.resourceloader.factory.AbstractResourceFactory.initializeDefaults(AbstractResourceFactory.java:162) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.registerDefaultFactories(DefaultResourceManagerBackend.java:436) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaultFactories(ResourceManager.java:541) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaults(ResourceManager.java:532) at org.pentaho.reporting.engine.classic.core.AbstractDataFactory.<init>(AbstractDataFactory.java:38) at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.SimplePmdDataFactory.<init>(SimplePmdDataFactory.java:103) at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdDataFactory.<init>(PmdDataFactory.java:44) at com.pentaho.test.iadhoc.service.util.DataFactoryConverterTest.testConvertPmdDataFactory(DataFactoryConverterTest.java:130) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906) Caused by: java.lang.ClassNotFoundException: org.apache.batik.bridge.UserAgent at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 36 more 4391 [main] DEBUG org.pentaho.reporting.libraries.base.util.ObjectUtilities - Specified class org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.SVGDrawableFactoryModule cannot be loaded [NOCLASSDEFERROR]. java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.WrapperSVGDrawableFactoryModule.<init>(WrapperSVGDrawableFactoryModule.java:35) at sun.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431) at org.pentaho.reporting.libraries.resourceloader.factory.AbstractResourceFactory.initializeDefaults(AbstractResourceFactory.java:162) at org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.registerDefaultFactories(DefaultResourceManagerBackend.java:436) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaultFactories(ResourceManager.java:541) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaults(ResourceManager.java:532) at org.pentaho.reporting.engine.classic.core.AbstractDataFactory.<init>(AbstractDataFactory.java:38) at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.SimplePmdDataFactory.<init>(SimplePmdDataFactory.java:103) at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdDataFactory.<init>(PmdDataFactory.java:44) at com.pentaho.test.iadhoc.service.util.DataFactoryConverterTest.testConvertPmdDataFactory(DataFactoryConverterTest.java:130) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906) Caused by: java.lang.ClassNotFoundException: org.apache.batik.bridge.UserAgent at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 36 more

    Pentaho BI Platform Tracking | 4 years ago | Rowell Belen
    java.lang.NoClassDefFoundError: org/apache/batik/bridge/UserAgent
  3. 0

    Log4j - Users - [log4j-1.2.17] build problem - Failure authenticating with NTLM <any realm>@bcproxyserver.ch.

    nabble.com | 1 year ago
    java.lang.NoClassDefFoundError: javax/mail/MessagingException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems with ContextLoaderListener

    Stack Overflow | 4 years ago | parchambeau
    java.lang.NoClassDefFoundError: org/springframework/web/context/WebApplicationContext
  6. 0

    JBoss6 with RestEasy client

    Stack Overflow | 5 years ago | Thor
    java.lang.NoClassDefFoundError: org/apache/commons/httpclient/HttpMethod

    49 unregistered visitors
    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

      org.apache.batik.bridge.UserAgent

      at java.net.URLClassLoader$1.run()
    2. Java RT
      Class.newInstance
      1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      2. java.security.AccessController.doPrivileged(Native Method)
      3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
      7. java.lang.Class.getDeclaredConstructors0(Native Method)
      8. java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
      9. java.lang.Class.getConstructor0(Class.java:2699)
      10. java.lang.Class.newInstance0(Class.java:326)
      11. java.lang.Class.newInstance(Class.java:308)
      11 frames
    3. org.pentaho.reporting
      WrapperSVGDrawableFactoryModule.<init>
      1. org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431)
      2. org.pentaho.reporting.libraries.resourceloader.modules.factory.svg.WrapperSVGDrawableFactoryModule.<init>(WrapperSVGDrawableFactoryModule.java:35)
      2 frames
    4. Java RT
      Class.newInstance
      1. sun.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source)
      2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      3. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      4. java.lang.Class.newInstance0(Class.java:355)
      5. java.lang.Class.newInstance(Class.java:308)
      5 frames
    5. org.pentaho.reporting
      PmdDataFactory.<init>
      1. org.pentaho.reporting.libraries.base.util.ObjectUtilities.loadAndInstantiate(ObjectUtilities.java:431)
      2. org.pentaho.reporting.libraries.resourceloader.factory.AbstractResourceFactory.initializeDefaults(AbstractResourceFactory.java:162)
      3. org.pentaho.reporting.libraries.resourceloader.DefaultResourceManagerBackend.registerDefaultFactories(DefaultResourceManagerBackend.java:436)
      4. org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaultFactories(ResourceManager.java:541)
      5. org.pentaho.reporting.libraries.resourceloader.ResourceManager.registerDefaults(ResourceManager.java:532)
      6. org.pentaho.reporting.engine.classic.core.AbstractDataFactory.<init>(AbstractDataFactory.java:38)
      7. org.pentaho.reporting.engine.classic.extensions.datasources.pmd.SimplePmdDataFactory.<init>(SimplePmdDataFactory.java:103)
      8. org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdDataFactory.<init>(PmdDataFactory.java:44)
      8 frames
    6. com.pentaho.test
      DataFactoryConverterTest.testConvertPmdDataFactory
      1. com.pentaho.test.iadhoc.service.util.DataFactoryConverterTest.testConvertPmdDataFactory(DataFactoryConverterTest.java:130)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:168)
      2. junit.framework.TestCase.runBare(TestCase.java:134)
      3. junit.framework.TestResult$1.protect(TestResult.java:110)
      4. junit.framework.TestResult.runProtected(TestResult.java:128)
      5. junit.framework.TestResult.run(TestResult.java:113)
      6. junit.framework.TestCase.run(TestCase.java:124)
      7. junit.framework.TestSuite.runTest(TestSuite.java:232)
      8. junit.framework.TestSuite.run(TestSuite.java:227)
      8 frames
    9. Apache Ant + JUnit
      JUnitTestRunner.main
      1. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
      2. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
      3. org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
      3 frames