java.lang.Error: Unresolved compilation problem: The method compare(LoggingObjectInterface, LoggingObjectInterface) of type new Comparator<LoggingObjectInterface>(){} must override a superclass method

Pentaho BI Platform Tracking | Bruno Medeiros | 4 years ago
  1. 0

    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.

    Pentaho BI Platform Tracking | 4 years ago | Bruno Medeiros
    java.lang.Error: Unresolved compilation problem: The method compare(LoggingObjectInterface, LoggingObjectInterface) of type new Comparator<LoggingObjectInterface>(){} must override a superclass method
  2. 0

    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.

    Pentaho BI Platform Tracking | 4 years ago | Bruno Medeiros
    java.lang.Error: Unresolved compilation problem: The method compare(LoggingObjectInterface, LoggingObjectInterface) of type new Comparator<LoggingObjectInterface>(){} must override a superclass method
  3. 0

    Issue after upgrading instasearch to 1.5

    GitHub | 4 years ago | raj2134
    org.eclipse.core.runtime.CoreException: Plug-in it.unibz.instasearch was unable to load class it.unibz.instasearch.ui.InstaSearchView.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclipse startup event raises a compilation problem

    GitHub | 6 years ago | reprogrammer
    java.lang.Error: Unresolved compilation problem: The method transferToCodingSpectatorComplete() of type new TransferToCodingSpectatorListener(){} must override a superclass method
  6. 0

    [SPIN API] "Unresolved compilation problem" after upgrade to 1.3.0 with Maven

    Google Groups | 4 years ago | Martynas Jusevicius
    java.lang.Error: Unresolved compilation problem: The method create(Function) of type SPINFunctionDrivers must override a superclass method

    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.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()
    2. org.pentaho.di
      GlobalMessages.<clinit>
      1. org.pentaho.di.core.logging.LoggingRegistry.registerLoggingSource(LoggingRegistry.java:141)
      2. org.pentaho.di.core.logging.LogChannel.<init>(LogChannel.java:41)
      3. org.pentaho.di.core.logging.LogChannel.<clinit>(LogChannel.java:28)
      4. org.pentaho.di.i18n.GlobalMessages.<clinit>(GlobalMessages.java:55)
      4 frames
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    4. org.pentaho.di
      Spoon.<clinit>
      1. org.pentaho.di.laf.LAFDelegate.loadHandler(LAFDelegate.java:83)
      2. org.pentaho.di.laf.LAFDelegate.init(LAFDelegate.java:58)
      3. org.pentaho.di.laf.LAFDelegate.<init>(LAFDelegate.java:50)
      4. org.pentaho.di.laf.LAFFactory.getDelegate(LAFFactory.java:60)
      5. org.pentaho.di.laf.LAFFactory.getHandler(LAFFactory.java:74)
      6. org.pentaho.di.i18n.BaseMessages.init(BaseMessages.java:52)
      7. org.pentaho.di.i18n.BaseMessages.<init>(BaseMessages.java:47)
      8. org.pentaho.di.i18n.BaseMessages.getInstance(BaseMessages.java:57)
      9. org.pentaho.di.i18n.BaseMessages.<clinit>(BaseMessages.java:43)
      10. org.pentaho.di.core.logging.LogLevel.<clinit>(LogLevel.java:40)
      11. org.pentaho.di.core.logging.DefaultLogLevel.<init>(DefaultLogLevel.java:36)
      12. org.pentaho.di.core.logging.DefaultLogLevel.getInstance(DefaultLogLevel.java:41)
      13. org.pentaho.di.core.logging.DefaultLogLevel.getLogLevel(DefaultLogLevel.java:50)
      14. org.pentaho.di.core.logging.SimpleLoggingObject.<init>(SimpleLoggingObject.java:36)
      15. org.pentaho.di.ui.spoon.Spoon.<clinit>(Spoon.java:320)
      15 frames
    5. 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
    6. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame