java.lang.NoClassDefFoundError: com/springsource/insight/util/ListUtil

SpringSource Issue Tracker | Peter Ledbrook | 6 years ago
  1. 0

    So I drag and drop a Grails application onto tcServer and then start it. That all works. If I then modify one of the application's controllers, the app is redeployed. During that redeployment I see this exception: {noformat} 2010-11-25 10:12:10,187 WARN [com.springsource.insight.dashboard.ExecutorTraceCreator][traceCreatingExecutor-1] - Unable to create trace java.lang.NoClassDefFoundError: com/springsource/insight/util/ListUtil at com.springsource.insight.plugin.jdbc.JdbcOperation.captureWordAfter(JdbcOperation.java:228) at com.springsource.insight.plugin.jdbc.JdbcOperation.createLabel(JdbcOperation.java:208) at com.springsource.insight.plugin.jdbc.JdbcOperation.getLabel(JdbcOperation.java:60) at com.springsource.insight.intercept.operation.WrappedOperation.getOperationLabel(WrappedOperation.java:87) at com.springsource.insight.intercept.operation.WrappedOperation.<init>(WrappedOperation.java:40) at com.springsource.insight.intercept.trace.AbstractBaseFrame.writeObject(AbstractBaseFrame.java:62) 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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at java.util.ArrayList.writeObject(ArrayList.java:570) at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at java.util.ArrayList.writeObject(ArrayList.java:570) at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at com.springsource.insight.util.SimpleObjectSerializer.serialize(SimpleObjectSerializer.java:58) at com.springsource.insight.util.SimpleObjectSerializer.getDeserializedVersionOf(SimpleObjectSerializer.java:49) at com.springsource.insight.dashboard.ExecutorTraceCreator.replicateFrameInDashboardClassloader(ExecutorTraceCreator.java:117) at com.springsource.insight.dashboard.ExecutorTraceCreator$CreateTraceCommand.run(ExecutorTraceCreator.java:139) 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:680) Caused by: java.lang.ClassNotFoundException: com.springsource.insight.util.ListUtil at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491) ... 48 more {noformat} I don't think it's critical, but it's a little disconcerting.

    SpringSource Issue Tracker | 6 years ago | Peter Ledbrook
    java.lang.NoClassDefFoundError: com/springsource/insight/util/ListUtil
  2. 0

    So I drag and drop a Grails application onto tcServer and then start it. That all works. If I then modify one of the application's controllers, the app is redeployed. During that redeployment I see this exception: {noformat} 2010-11-25 10:12:10,187 WARN [com.springsource.insight.dashboard.ExecutorTraceCreator][traceCreatingExecutor-1] - Unable to create trace java.lang.NoClassDefFoundError: com/springsource/insight/util/ListUtil at com.springsource.insight.plugin.jdbc.JdbcOperation.captureWordAfter(JdbcOperation.java:228) at com.springsource.insight.plugin.jdbc.JdbcOperation.createLabel(JdbcOperation.java:208) at com.springsource.insight.plugin.jdbc.JdbcOperation.getLabel(JdbcOperation.java:60) at com.springsource.insight.intercept.operation.WrappedOperation.getOperationLabel(WrappedOperation.java:87) at com.springsource.insight.intercept.operation.WrappedOperation.<init>(WrappedOperation.java:40) at com.springsource.insight.intercept.trace.AbstractBaseFrame.writeObject(AbstractBaseFrame.java:62) 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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at java.util.ArrayList.writeObject(ArrayList.java:570) at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at java.util.ArrayList.writeObject(ArrayList.java:570) at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330) at com.springsource.insight.util.SimpleObjectSerializer.serialize(SimpleObjectSerializer.java:58) at com.springsource.insight.util.SimpleObjectSerializer.getDeserializedVersionOf(SimpleObjectSerializer.java:49) at com.springsource.insight.dashboard.ExecutorTraceCreator.replicateFrameInDashboardClassloader(ExecutorTraceCreator.java:117) at com.springsource.insight.dashboard.ExecutorTraceCreator$CreateTraceCommand.run(ExecutorTraceCreator.java:139) 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:680) Caused by: java.lang.ClassNotFoundException: com.springsource.insight.util.ListUtil at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491) ... 48 more {noformat} I don't think it's critical, but it's a little disconcerting.

    SpringSource Issue Tracker | 6 years ago | Peter Ledbrook
    java.lang.NoClassDefFoundError: com/springsource/insight/util/ListUtil
  3. 0

    spring mvc file upload is not working in gradle

    Stack Overflow | 3 years ago | Satish
    java.lang.ClassNotFoundException: org.apache.commons.io.output.DeferredFileOutputStream
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

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

    com.springsource.insight.util.ListUtil

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
    2 frames
  3. com.springsource.insight
    AbstractBaseFrame.writeObject
    1. com.springsource.insight.plugin.jdbc.JdbcOperation.captureWordAfter(JdbcOperation.java:228)
    2. com.springsource.insight.plugin.jdbc.JdbcOperation.createLabel(JdbcOperation.java:208)
    3. com.springsource.insight.plugin.jdbc.JdbcOperation.getLabel(JdbcOperation.java:60)
    4. com.springsource.insight.intercept.operation.WrappedOperation.getOperationLabel(WrappedOperation.java:87)
    5. com.springsource.insight.intercept.operation.WrappedOperation.<init>(WrappedOperation.java:40)
    6. com.springsource.insight.intercept.trace.AbstractBaseFrame.writeObject(AbstractBaseFrame.java:62)
    6 frames
  4. Java RT
    ObjectOutputStream.writeObject
    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)
    5. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
    6. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
    7. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    8. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    9. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    10. java.util.ArrayList.writeObject(ArrayList.java:570)
    11. sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
    12. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    13. java.lang.reflect.Method.invoke(Method.java:597)
    14. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
    15. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
    16. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    17. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    18. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
    19. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
    20. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    21. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    22. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    23. java.util.ArrayList.writeObject(ArrayList.java:570)
    24. sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
    25. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    26. java.lang.reflect.Method.invoke(Method.java:597)
    27. java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
    28. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
    29. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    30. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    31. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
    32. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
    33. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    34. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    35. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    35 frames
  5. com.springsource.insight
    ExecutorTraceCreator$CreateTraceCommand.run
    1. com.springsource.insight.util.SimpleObjectSerializer.serialize(SimpleObjectSerializer.java:58)
    2. com.springsource.insight.util.SimpleObjectSerializer.getDeserializedVersionOf(SimpleObjectSerializer.java:49)
    3. com.springsource.insight.dashboard.ExecutorTraceCreator.replicateFrameInDashboardClassloader(ExecutorTraceCreator.java:117)
    4. com.springsource.insight.dashboard.ExecutorTraceCreator$CreateTraceCommand.run(ExecutorTraceCreator.java:139)
    4 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:680)
    3 frames