java.lang.IllegalArgumentException: No enum const class org.springframework.social.facebook.api.Album$Privacy.NETWORKS

Spring JIRA | Thomas Heigl | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    If a Facebook album is restricted to a network, spring social fails to parse the response: {code} java.lang.IllegalArgumentException: No enum const class org.springframework.social.facebook.api.Album$Privacy.NETWORKS at java.lang.Enum.valueOf(Enum.java:196) ~[na:1.6.0_24] at org.springframework.social.facebook.api.Album$Privacy.valueOf(Album.java:106) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.json.AlbumMixin$PrivacyDeserializer.deserialize(AlbumMixin.java:72) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.json.AlbumMixin$PrivacyDeserializer.deserialize(AlbumMixin.java:68) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:252) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:595) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:472) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:350) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:120) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:97) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:26) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2376) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1763) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.springframework.social.facebook.api.impl.FacebookTemplate.deserializeDataList(FacebookTemplate.java:265) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.FacebookTemplate.fetchConnections(FacebookTemplate.java:181) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.MediaTemplate.getAlbums(MediaTemplate.java:61) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.MediaTemplate.getAlbums(MediaTemplate.java:53) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] {code}

    Spring JIRA | 5 years ago | Thomas Heigl
    java.lang.IllegalArgumentException: No enum const class org.springframework.social.facebook.api.Album$Privacy.NETWORKS
  2. 0

    If a Facebook album is restricted to a network, spring social fails to parse the response: {code} java.lang.IllegalArgumentException: No enum const class org.springframework.social.facebook.api.Album$Privacy.NETWORKS at java.lang.Enum.valueOf(Enum.java:196) ~[na:1.6.0_24] at org.springframework.social.facebook.api.Album$Privacy.valueOf(Album.java:106) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.json.AlbumMixin$PrivacyDeserializer.deserialize(AlbumMixin.java:72) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.json.AlbumMixin$PrivacyDeserializer.deserialize(AlbumMixin.java:68) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:252) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:595) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:472) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:350) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:120) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:97) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:26) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2376) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1763) ~[jackson-mapper-asl-1.8.4.jar:1.8.4] at org.springframework.social.facebook.api.impl.FacebookTemplate.deserializeDataList(FacebookTemplate.java:265) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.FacebookTemplate.fetchConnections(FacebookTemplate.java:181) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.MediaTemplate.getAlbums(MediaTemplate.java:61) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] at org.springframework.social.facebook.api.impl.MediaTemplate.getAlbums(MediaTemplate.java:53) ~[spring-social-facebook-1.0.0.RELEASE.jar:na] {code}

    Spring JIRA | 5 years ago | Thomas Heigl
    java.lang.IllegalArgumentException: No enum const class org.springframework.social.facebook.api.Album$Privacy.NETWORKS
  3. 0

    Unable to see the home page of Fusion Order Demo (FOD)

    Oracle Community | 4 years ago | 990331
    java.lang.IllegalArgumentException: No enum const class oracle.adf.view.rich.resource.PageResource$ResourceType.JAVASCRÄ°PT
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException, when a data type is present in the schema, but unavailable in code generation logic

    GitHub | 5 years ago | lukaseder
    java.lang.IllegalArgumentException: No enum const class org.jooq.util.oracle.OracleDataType.BINARY_INTEGER
  6. 0

    ACRA version 4.3.0 snapshot currently on master branch isn't 1.5 compatible

    GitHub | 5 years ago | jddcef
    java.lang.IllegalArgumentException: REPORT_SENDER is not a constant in the enum type class org.acra.ReportField
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 const class org.springframework.social.facebook.api.Album$Privacy.NETWORKS

    at java.lang.Enum.valueOf()
  2. Java RT
    Enum.valueOf
    1. java.lang.Enum.valueOf(Enum.java:196)[na:1.6.0_24]
    1 frame
  3. Facebook API
    AlbumMixin$PrivacyDeserializer.deserialize
    1. org.springframework.social.facebook.api.Album$Privacy.valueOf(Album.java:106)[spring-social-facebook-1.0.0.RELEASE.jar:na]
    2. org.springframework.social.facebook.api.impl.json.AlbumMixin$PrivacyDeserializer.deserialize(AlbumMixin.java:72)[spring-social-facebook-1.0.0.RELEASE.jar:na]
    3. org.springframework.social.facebook.api.impl.json.AlbumMixin$PrivacyDeserializer.deserialize(AlbumMixin.java:68)[spring-social-facebook-1.0.0.RELEASE.jar:na]
    3 frames
  4. Data Mapper for Jackson
    ObjectMapper.readValue
    1. org.codehaus.jackson.map.deser.SettableBeanProperty.deserialize(SettableBeanProperty.java:252)[jackson-mapper-asl-1.8.4.jar:1.8.4]
    2. org.codehaus.jackson.map.deser.BeanDeserializer._deserializeUsingPropertyBased(BeanDeserializer.java:595)[jackson-mapper-asl-1.8.4.jar:1.8.4]
    3. org.codehaus.jackson.map.deser.BeanDeserializer.deserializeFromObject(BeanDeserializer.java:472)[jackson-mapper-asl-1.8.4.jar:1.8.4]
    4. org.codehaus.jackson.map.deser.BeanDeserializer.deserialize(BeanDeserializer.java:350)[jackson-mapper-asl-1.8.4.jar:1.8.4]
    5. org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:120)[jackson-mapper-asl-1.8.4.jar:1.8.4]
    6. org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:97)[jackson-mapper-asl-1.8.4.jar:1.8.4]
    7. org.codehaus.jackson.map.deser.CollectionDeserializer.deserialize(CollectionDeserializer.java:26)[jackson-mapper-asl-1.8.4.jar:1.8.4]
    8. org.codehaus.jackson.map.ObjectMapper._readValue(ObjectMapper.java:2376)[jackson-mapper-asl-1.8.4.jar:1.8.4]
    9. org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1763)[jackson-mapper-asl-1.8.4.jar:1.8.4]
    9 frames
  5. Facebook API
    MediaTemplate.getAlbums
    1. org.springframework.social.facebook.api.impl.FacebookTemplate.deserializeDataList(FacebookTemplate.java:265)[spring-social-facebook-1.0.0.RELEASE.jar:na]
    2. org.springframework.social.facebook.api.impl.FacebookTemplate.fetchConnections(FacebookTemplate.java:181)[spring-social-facebook-1.0.0.RELEASE.jar:na]
    3. org.springframework.social.facebook.api.impl.MediaTemplate.getAlbums(MediaTemplate.java:61)[spring-social-facebook-1.0.0.RELEASE.jar:na]
    4. org.springframework.social.facebook.api.impl.MediaTemplate.getAlbums(MediaTemplate.java:53)[spring-social-facebook-1.0.0.RELEASE.jar:na]
    4 frames