java.lang.IllegalArgumentException: Unknown name value for enum class org.openxava.gestion.modelo.Elementosinternet$TipoConexion: 1

openxava | diegoazd | 7 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

    Probela con enums

    openxava | 7 years ago | diegoazd
    java.lang.IllegalArgumentException: Unknown name value for enum class org.openxava.gestion.modelo.Elementosinternet$TipoConexion: 1

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Unknown name value for enum class org.openxava.gestion.modelo.Elementosinternet$TipoConexion: 1

      at org.hibernate.type.EnumType.nullSafeGet()
    2. Hibernate
      AbstractEntityPersister.load
      1. org.hibernate.type.EnumType.nullSafeGet(EnumType.java:113)
      2. org.hibernate.type.CustomType.nullSafeGet(CustomType.java:128)
      3. org.hibernate.type.AbstractType.hydrate(AbstractType.java:105)
      4. org.hibernate.persister.entity.AbstractEntityPersister.hydrate(AbstractEntityPersister.java:2124)
      5. org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1404)
      6. org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1332)
      7. org.hibernate.loader.Loader.getRow(Loader.java:1230)
      8. org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:603)
      9. org.hibernate.loader.Loader.doQuery(Loader.java:724)
      10. org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
      11. org.hibernate.loader.Loader.loadEntity(Loader.java:1881)
      12. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71)
      13. org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65)
      14. org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072)
      14 frames
    3. Hibernate
      SessionImpl.get
      1. org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434)
      2. org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415)
      3. org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165)
      4. org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:223)
      5. org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126)
      6. org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905)
      7. org.hibernate.impl.SessionImpl.get(SessionImpl.java:842)
      8. org.hibernate.impl.SessionImpl.get(SessionImpl.java:835)
      8 frames
    4. Hibernate EJB
      AbstractEntityManagerImpl.find
      1. org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:182)
      1 frame
    5. org.openxava.model
      MapFacade.getValues
      1. org.openxava.model.impl.JPAPersistenceProvider.find(JPAPersistenceProvider.java:25)
      2. org.openxava.model.impl.POJOPersistenceProviderBase.find(POJOPersistenceProviderBase.java:89)
      3. org.openxava.model.impl.POJOPersistenceProviderBase.find(POJOPersistenceProviderBase.java:60)
      4. org.openxava.model.impl.MapFacadeBean.findEntity(MapFacadeBean.java:1410)
      5. org.openxava.model.impl.MapFacadeBean.findEntity(MapFacadeBean.java:1550)
      6. org.openxava.model.impl.MapFacadeBean.getValuesImpl(MapFacadeBean.java:602)
      7. org.openxava.model.impl.MapFacadeBean.getValues(MapFacadeBean.java:93)
      8. org.openxava.model.MapFacade.getValues(MapFacade.java:359)
      8 frames
    6. org.openxava.actions
      SearchByViewKeyAction.execute
      1. org.openxava.actions.SearchByViewKeyAction.execute(SearchByViewKeyAction.java:52)
      1 frame
    7. org.openxava.controller
      ModuleManager.execute
      1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:310)
      2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:229)
      3. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:420)
      4. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:229)
      5. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:420)
      6. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:229)
      7. org.openxava.controller.ModuleManager.execute(ModuleManager.java:195)
      7 frames