java.lang.NoClassDefFoundError

org/apache/log4j/helpers/NullEnumeration

Samebug tips9

Check if you didn't forget to instantiate your topic in the kafka broker.

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web19118

  • via Pentaho BI Platform Tracking by gunter rombauts, 2 weeks ago
    org/apache/log4j/helpers/NullEnumeration
  • org/apache/log4j/helpers/NullEnumeration
  • org/apache/log4j/helpers/NullEnumeration
  • Stack trace

    • java.lang.NoClassDefFoundError: org/apache/log4j/helpers/NullEnumeration at org.apache.log4j.Category.getAllAppenders(Category.java:413) at org.apache.log4j.Category.closeNestedAppenders(Category.java:226) at org.apache.log4j.Hierarchy.shutdown(Hierarchy.java:467) at org.apache.log4j.LogManager.shutdown(LogManager.java:267) at com.datatorrent.stram.engine.StreamingContainer.main(StreamingContainer.java:332) Caused by: java.lang.ClassNotFoundException: org.apache.log4j.helpers.NullEnumeration at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, 1 month ago
    Once, 1 month ago
    Unknown user
    2 times, 3 months ago
    Unknown user
    Once, 5 months ago
    Unknown user
    Once, 5 months ago
    2363 more bugmates