Invalid service:

Samebug tips4

Update "latest" to Java 8 on DockerHub.

This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.

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

Solutions on the web3944

  • via by Unknown author, 1 year ago
    Invalid service:
  • via GitHub by PierreMuller
    , 10 months ago
    Invalid service:
  • via GitHub by ctrueden
    , 1 year ago
    Invalid service:
  • Stack trace

    • java.lang.IllegalArgumentException: Invalid service: at org.scijava.service.ServiceHelper.createExactService( at org.scijava.service.ServiceHelper.loadService( at org.scijava.service.ServiceHelper.loadService( at org.scijava.service.ServiceHelper.loadServices( at org.scijava.Context.<init>( at org.scijava.Context.<init>( at org.scijava.Context.<init>( at org.scijava.Context.<init>( at net.imagej.ImageJ.<init>( at net.imagej.Main.launch( at net.imagej.Main.main( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at net.imagej.launcher.ClassLauncher.launch( at at net.imagej.launcher.ClassLauncher.main( Caused by: java.lang.UnsupportedClassVersionError: ome/xml/model/enums/EnumerationException : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond( at java.lang.ClassLoader.defineClass( at at at$000( at$ at Method) at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors( at java.lang.Class.getConstructor0( at java.lang.Class.newInstance0( at java.lang.Class.newInstance( at org.scijava.service.ServiceHelper.createServiceRecursively( at org.scijava.service.ServiceHelper.createExactService( ... 17 more

    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

    Once, 5 days ago
    6 times, 4 weeks ago
    Unknown user
    Once, 1 month ago
    Once, 1 month ago
    Unknown user
    Once, 3 months ago
    193 more bugmates