java.lang.IllegalArgumentException: No enum constant oshi.software.os.OperatingSystem.ProcessSort.5

GitHub | ckadner | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to bernardpaulus and rafael . Or join the community to write better ones.
  1. 0

    Maven test build shows WARN and ERROR messages

    GitHub | 4 months ago | ckadner
    java.lang.IllegalArgumentException: No enum constant oshi.software.os.OperatingSystem.ProcessSort.5
  2. 0
    samebug tip
    You've got a kotlin TODO, fix it :)
  3. 0
    samebug tip
    CertStore.getCertificates() returns a HashSet, and this doesn't guarantee that the certificates will come ordered as desired, so you might have to use a Collection.toArray() and order them by serial number to be sure which one is which.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Check if your path is correct, if it's correct already you have to register your path to the mapping configuration.
  6. 0
    samebug tip
    This might be a conflict between different annotation methods. Try not using more than one to avoid conflicts.
    via GitHub by jvalkeal

  1. Pierre 1 times, last 5 days ago
  2. stigkj 3 times, last 5 days ago
  3. Axelo 1 times, last 2 months ago
  4. marcbouvierdav 2 times, last 1 month ago
  5. osvzs 2 times, last 2 months ago
21 more registered users
12 unregistered visitors
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.IllegalArgumentException

    No enum constant oshi.software.os.OperatingSystem.ProcessSort.5

    at java.lang.Enum.valueOf()
  2. Java RT
    Enum.valueOf
    1. java.lang.Enum.valueOf(Enum.java:238)
    1 frame
  3. oshi.json.util
    PropertiesUtilTest.testLoadProperties
    1. oshi.json.util.PropertiesUtil.getEnum(PropertiesUtil.java:126)
    2. oshi.json.util.PropertiesUtilTest.testLoadProperties(PropertiesUtilTest.java:59)
    2 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    13 frames
  6. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
    4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
    4 frames
  7. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
    2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
    3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
    3 frames