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

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

    Maven test build shows WARN and ERROR messages

    GitHub | 3 months ago | ckadner
    java.lang.IllegalArgumentException: No enum constant oshi.software.os.OperatingSystem.ProcessSort.5
  2. 0
    samebug tip
    Check if your path is correct, if it's correct already you have to register your path to the mapping configuration.
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    WireMock, until 1.5.2, only worked with keystores with the password: "password", this was fixed in 1.5.3. Another issue that causes this exception was fixed in 1.5.3 as well.

  1. Axelo 1 times, last 4 weeks ago
  2. marcbouvierdav 2 times, last 2 weeks ago
  3. osvzs 2 times, last 1 month ago
  4. Andreas Häber 1 times, last 1 month ago
  5. jf-ast 6 times, last 2 months ago
19 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