Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. No matching ENUM found for the given string
    Java Runtime
    59
    343
    35

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.IllegalArgumentException: No enum constant forestry.api.apiculture.EnumBeeChromosome.NOCTURNAL
    at java.lang.Enum.valueOf(Unknown Source)
    at forestry.api.apiculture.EnumBeeChromosome.valueOf(EnumBeeChromosome.java:25)
    at net.bdew.gendustry.custom.BeeSpecies$$anonfun$getTemplate$3.apply(BeeSpecies.scala:151)
    at net.bdew.gendustry.custom.BeeSpecies$$anonfun$getTemplate$3.apply(BeeSpecies.scala:150)
42 frames hidden

Solution

rahsan3 months ago

Please ensure that the String value matches exactly as the ENUM name. For more information check this solution

External results for this pattern (10)

  1. learnappiumvia GitHub3 weeks ago
    No enum constant com.epam.reportportal.soapui.parameters.TestStatus.PASS
    Show stack trace
  2. joserobjrvia GitHub3 weeks ago
    No enum constant SampleEnum.foo
    Show stack trace
  3. felixgaovia GitHub3 weeks ago
    Failed to execute goal org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:xjc (xjc) on project osbr-thrift-server-test: Unable to parse configuration of mojo org.codehaus.mojo:jaxb2-maven-plugin:2.3.1:xjc: Cannot convert 'xsd' to Enum
    Show stack trace
  4. sis-yoshidayvia GitHub3 weeks ago
    No enum constant com.example.App.MyEnum.X
    Show stack trace
  5. ctrl-alt-devvia GitHub3 weeks ago
    No enum constant nl.ctrlaltdev.atlasscan.domain.user.UpdatePeriod.weekly
    Show stack trace
  6. Could not list layers for this store, an error occurred retrieving them: No enum constant org.geotools.mbtiles.MBTilesMetadata.t_format.JPG
    Show stack trace
  7. schildbachvia GitHub3 weeks ago
    No enum constant de.schildbach.pte.AbstractNavitiaProvider.PhysicalMode.RAILSHUTTLE
    Show stack trace
  8. Cargowuvia GitHub4 weeks ago
  9. SeregaANTvia GitHub1 month ago
    No enum constant com.dabsquared.gitlabjenkins.gitlab.api.model.BuildState.FAILURE
    Show stack trace
  10. Jeff Winklervia Google Groups1 month ago
    No enum const class org.sventon.web.command.ConfigCommand$AccessMethod.GLOBAL
    Show stack trace