No matching ENUM found for the given string

java.lang.IllegalArgumentException
Javadoc
Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at java.lang.Enum.valueOf
(source)

Typical Exception Messages

  1. No enum const class javax.faces.component.UIComponent$PropertyKeys.attributes
  2. No enum constant org.apache.metron.common.configuration.ConfigurationType.{ > "profiles": [ > { > "profile": "squid-miss", > "foreach": "ip_src_addr", > "onlyif": "source.type == 'squid' and action == 'TCP_MISS'", > "update": { > "m": "STATS_ADD(m, 1)" > }, > "result": "m" > }, > { > "profile": "url-length", > "foreach": "ip_src_addr", > "onlyif": "source.type == 'squid'", > "update": { > "m": "STATS_ADD(m, LENGTH(url))" > }, > "result": "m" > } > ] > }
  3. No enum constant ButtonTypeID.default
  4. No enum constant org.apache.hadoop.mapreduce.JobCounter.MB_MILLIS_REDUCES
  5. No enum constant org.pentaho.di.trans.steps.xmloutput.XMLField.ContentType.
  6. No enum constant org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState.LAUNCHED_UNMANAGED_SAVING
  7. No enum constant org.apache.metron.common.configuration.ConfigurationType.{ "profiles": [ { "profile": "squid-miss", "foreach": "ip_src_addr", "onlyif": "source.type == 'squid' and action == 'TCP_MISS'", "update": { "m": "STATS_ADD(m, 1)" }, "result": "m" }, { "profile": "url-length", "foreach": "ip_src_addr", "onlyif": "source.type == 'squid'", "update": { "m": "STATS_ADD(m, LENGTH(url))" }, "result": "m" } ] }
  8. No enum constant org.apache.metron.common.configuration.ConfigurationType.{ "profiles": [ { "profile": "squid-miss", "foreach": "ip_src_addr", "onlyif": "source.type == 'squid' and action == 'TCP_MISS'", "update": { "m": "STATS_ADD(m, 1)" }, "result": "m" }, { "profile": "url-length", "foreach": "ip_src_addr", "onlyif": "source.type == 'squid'", "update": { "m": "STATS_ADD(m, LENGTH(url))" }, "result": "m" } ] }
  9. No enum constant com.egencia.auth.model.cluster.types.MongoReadConcern.primary
  10. No enum const class com.mysql.etools.monitor.support.SpIssue$Severity.NS

Specific cases

Solution

rahsan, 2 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 (647)

  1. cyril-dussertvia GitHub16 hours ago
    No enum constant com.ning.http.client.ProxyServer.Protocol.http
    Show stack trace
  2. ow005960via Oracle Community2 days ago
    No enum const class oracle.javatools.db.ora.MaterializedView$Staleness.IMPORT
    Show stack trace
  3. AlexTovia GitHub3 days ago
    No enum constant com.marklogic.client.semantics.RDFTypes.LANGSTRING
    Show stack trace
  4. joserobjrvia GitHub1 week ago
    No enum constant SampleEnum.foo
    Show stack trace
  5. AhmetDSvia GitHub2 weeks ago
    No enum constant org.bukkit.potion.PotionType.F¦RE_RES¦STANCE
    Show stack trace
  6. goldmorphinvia GitHub3 weeks ago
    No enum constant org.bukkit.Material.STONEBRICK
    Show stack trace
  7. ganeshraja88via GitHub4 weeks ago
    No enum constant net.thucydides.core.webdriver.SupportedWebDriver.D:\DRIVERS\IEDRIVERSERVER_X64_3.6.0\IEDRIVERSERVER.EXE
    Show stack trace
  8. CaptainAmpersandvia GitHub1 month ago
    No enum constant org.bukkit.Sound.ENDERDRAGON_HIT
    Show stack trace
  9. CaptainAmpersandvia GitHub1 month ago
    No enum constant org.bukkit.Sound.ENDERDRAGON_HIT
    Show stack trace
  10. asammartinvia GitHub1 month ago
    No enum constant mil.nga.geopackage.db.GeoPackageDataType.MULTIPOLYGON
    Show stack trace