java.lang.Error

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • If we compile PDI using the OpenJDK above, we get the following error launching spoon.sh: bruno.medeiros@brunojcm-notebook:~/Development/pdi-4.4.0-stable$ ./spoon.sh /home/bruno.medeiros/Development/pdi-4.4.0-stable Exception in thread "main" java.lang.Error: Unresolved compilation problem: The method compare(LoggingObjectInterface, LoggingObjectInterface) of type new Comparator<LoggingObjectInterface>(){} must override a superclass method at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:141) at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:41) at org.pentaho.di.core.logging.LogChannel.<clinit>(LogChannel.java:28) at org.pentaho.di.i18n.GlobalMessages.<clinit>(GlobalMessages.java:55) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 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.di.laf.LAFDelegate.loadHandler(LAFDelegate.java:83) at org.pentaho.di.laf.LAFDelegate.init(LAFDelegate.java:58) at org.pentaho.di.laf.LAFDelegate.<init>(LAFDelegate.java:50) at org.pentaho.di.laf.LAFFactory.getDelegate(LAFFactory.java:60) at org.pentaho.di.laf.LAFFactory.getHandler(LAFFactory.java:74) at org.pentaho.di.i18n.BaseMessages.init(BaseMessages.java:52) at org.pentaho.di.i18n.BaseMessages.<init>(BaseMessages.java:47) at org.pentaho.di.i18n.BaseMessages.getInstance(BaseMessages.java:57) at org.pentaho.di.i18n.BaseMessages.<clinit>(BaseMessages.java:43) at org.pentaho.di.core.logging.LogLevel.<clinit>(LogLevel.java:40) at org.pentaho.di.core.logging.DefaultLogLevel.<init>(DefaultLogLevel.java:36) at org.pentaho.di.core.logging.DefaultLogLevel.getInstance(DefaultLogLevel.java:41) at org.pentaho.di.core.logging.DefaultLogLevel.getLogLevel(DefaultLogLevel.java:50) at org.pentaho.di.core.logging.SimpleLoggingObject.<init>(SimpleLoggingObject.java:36) at org.pentaho.di.ui.spoon.Spoon.<clinit>(Spoon.java:320) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:134) For some tests I did, I can say that running the OpenJDK-compiled PDI on WIndows also throws the same error, but I'm not 100% sure about it.
    via by Bruno Medeiros,
  • If we compile PDI using the OpenJDK above, we get the following error launching spoon.sh: bruno.medeiros@brunojcm-notebook:~/Development/pdi-4.4.0-stable$ ./spoon.sh /home/bruno.medeiros/Development/pdi-4.4.0-stable Exception in thread "main" java.lang.Error: Unresolved compilation problem: The method compare(LoggingObjectInterface, LoggingObjectInterface) of type new Comparator<LoggingObjectInterface>(){} must override a superclass method at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:141) at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:41) at org.pentaho.di.core.logging.LogChannel.<clinit>(LogChannel.java:28) at org.pentaho.di.i18n.GlobalMessages.<clinit>(GlobalMessages.java:55) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 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.di.laf.LAFDelegate.loadHandler(LAFDelegate.java:83) at org.pentaho.di.laf.LAFDelegate.init(LAFDelegate.java:58) at org.pentaho.di.laf.LAFDelegate.<init>(LAFDelegate.java:50) at org.pentaho.di.laf.LAFFactory.getDelegate(LAFFactory.java:60) at org.pentaho.di.laf.LAFFactory.getHandler(LAFFactory.java:74) at org.pentaho.di.i18n.BaseMessages.init(BaseMessages.java:52) at org.pentaho.di.i18n.BaseMessages.<init>(BaseMessages.java:47) at org.pentaho.di.i18n.BaseMessages.getInstance(BaseMessages.java:57) at org.pentaho.di.i18n.BaseMessages.<clinit>(BaseMessages.java:43) at org.pentaho.di.core.logging.LogLevel.<clinit>(LogLevel.java:40) at org.pentaho.di.core.logging.DefaultLogLevel.<init>(DefaultLogLevel.java:36) at org.pentaho.di.core.logging.DefaultLogLevel.getInstance(DefaultLogLevel.java:41) at org.pentaho.di.core.logging.DefaultLogLevel.getLogLevel(DefaultLogLevel.java:50) at org.pentaho.di.core.logging.SimpleLoggingObject.<init>(SimpleLoggingObject.java:36) at org.pentaho.di.ui.spoon.Spoon.<clinit>(Spoon.java:320) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:134) For some tests I did, I can say that running the OpenJDK-compiled PDI on WIndows also throws the same error, but I'm not 100% sure about it.
    via by Bruno Medeiros,
    • java.lang.Error: Unresolved compilation problem: The method compare(LoggingObjectInterface, LoggingObjectInterface) of type new Comparator<LoggingObjectInterface>(){} must override a superclass method at org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:141) at org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:41) at org.pentaho.di.core.logging.LogChannel.<clinit>(LogChannel.java:28) at org.pentaho.di.i18n.GlobalMessages.<clinit>(GlobalMessages.java:55) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 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.di.laf.LAFDelegate.loadHandler(LAFDelegate.java:83) at org.pentaho.di.laf.LAFDelegate.init(LAFDelegate.java:58) at org.pentaho.di.laf.LAFDelegate.<init>(LAFDelegate.java:50) at org.pentaho.di.laf.LAFFactory.getDelegate(LAFFactory.java:60) at org.pentaho.di.laf.LAFFactory.getHandler(LAFFactory.java:74) at org.pentaho.di.i18n.BaseMessages.init(BaseMessages.java:52) at org.pentaho.di.i18n.BaseMessages.<init>(BaseMessages.java:47) at org.pentaho.di.i18n.BaseMessages.getInstance(BaseMessages.java:57) at org.pentaho.di.i18n.BaseMessages.<clinit>(BaseMessages.java:43) at org.pentaho.di.core.logging.LogLevel.<clinit>(LogLevel.java:40) at org.pentaho.di.core.logging.DefaultLogLevel.<init>(DefaultLogLevel.java:36) at org.pentaho.di.core.logging.DefaultLogLevel.getInstance(DefaultLogLevel.java:41) at org.pentaho.di.core.logging.DefaultLogLevel.getLogLevel(DefaultLogLevel.java:50) at org.pentaho.di.core.logging.SimpleLoggingObject.<init>(SimpleLoggingObject.java:36) at org.pentaho.di.ui.spoon.Spoon.<clinit>(Spoon.java:320) 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.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    No Bugmate found.