java.lang.NullPointerException

Hibernate JIRA | attila lendvai | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.NullPointerException at org.hibernate.mapping.OneToMany.getColumnSpan(OneToMany.java:48) at com.netvisor.data_model_metadata.HibernateEntityMetadata.appendValueProperties(HibernateEntityMetadata.java:931) at com.netvisor.data_model_metadata.HibernateEntityMetadata.initializeProperty(HibernateEntityMetadata.java:728) at com.netvisor.data_model_metadata.HibernateEntityMetadata.initializeFromPersistentClass(HibernateEntityMetadata.java:618) at com.netvisor.data_model_metadata.HibernateEntityMetadata.initialize(HibernateEntityMetadata.java:447) at com.netvisor.uma.UMAEntityMetadata.initialize(UMAEntityMetadata.java:28) at com.netvisor.uma.UserMetadata.initialize(UserMetadata.java:27) at com.netvisor.data_model_metadata.MetaSpace.initialize(MetaSpace.java:63) at com.netvisor.data_model_metadata.HibernateMetaSpace.<init>(HibernateMetaSpace.java:50) at com.netvisor.uma.UMAMetaSpace.<init>(UMAMetaSpace.java:85) at com.netvisor.uma.UMAMetaSpace.<clinit>(UMAMetaSpace.java:59) at com.netvisor.uma.UMAHibernateConnectionManager.findMetaSpaceFrom(UMAHibernateConnectionManager.java:69) at com.netvisor.data_model_metadata.AbstractConnectionOpener.ajc$inlineAccessMethod$com_netvisor_data_model_metadata_AbstractC at com.netvisor.uma.UMA.authenticate_aroundBody35$advice(UMA.java:167) at com.netvisor.uma.UMA.authenticate(UMA.java) at com.netvisor.uma.UMA.authenticate(UMA.java:645) at com.netvisor.uma.UMAServiceBean.authenticate(UMAServiceBean.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:957) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:273) mapping: <bag name="authInstruments" cascade="delete" inverse="true" lazy="true" access="field" > <key column="userId"/> <one-to-many class="com.netvisor.uma.AuthInstrument"/> </bag>

    Hibernate JIRA | 1 decade ago | attila lendvai
    java.lang.NullPointerException
  2. 0

    java.lang.NullPointerException at org.hibernate.mapping.OneToMany.getColumnSpan(OneToMany.java:48) at com.netvisor.data_model_metadata.HibernateEntityMetadata.appendValueProperties(HibernateEntityMetadata.java:931) at com.netvisor.data_model_metadata.HibernateEntityMetadata.initializeProperty(HibernateEntityMetadata.java:728) at com.netvisor.data_model_metadata.HibernateEntityMetadata.initializeFromPersistentClass(HibernateEntityMetadata.java:618) at com.netvisor.data_model_metadata.HibernateEntityMetadata.initialize(HibernateEntityMetadata.java:447) at com.netvisor.uma.UMAEntityMetadata.initialize(UMAEntityMetadata.java:28) at com.netvisor.uma.UserMetadata.initialize(UserMetadata.java:27) at com.netvisor.data_model_metadata.MetaSpace.initialize(MetaSpace.java:63) at com.netvisor.data_model_metadata.HibernateMetaSpace.<init>(HibernateMetaSpace.java:50) at com.netvisor.uma.UMAMetaSpace.<init>(UMAMetaSpace.java:85) at com.netvisor.uma.UMAMetaSpace.<clinit>(UMAMetaSpace.java:59) at com.netvisor.uma.UMAHibernateConnectionManager.findMetaSpaceFrom(UMAHibernateConnectionManager.java:69) at com.netvisor.data_model_metadata.AbstractConnectionOpener.ajc$inlineAccessMethod$com_netvisor_data_model_metadata_AbstractC at com.netvisor.uma.UMA.authenticate_aroundBody35$advice(UMA.java:167) at com.netvisor.uma.UMA.authenticate(UMA.java) at com.netvisor.uma.UMA.authenticate(UMA.java:645) at com.netvisor.uma.UMAServiceBean.authenticate(UMAServiceBean.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:957) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:120) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:273) mapping: <bag name="authInstruments" cascade="delete" inverse="true" lazy="true" access="field" > <key column="userId"/> <one-to-many class="com.netvisor.uma.AuthInstrument"/> </bag>

    Hibernate JIRA | 1 decade ago | attila lendvai
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.hibernate.mapping.OneToMany.getColumnSpan()
    2. Hibernate
      OneToMany.getColumnSpan
      1. org.hibernate.mapping.OneToMany.getColumnSpan(OneToMany.java:48)
      1 frame
    3. com.netvisor.data_model_metadata
      HibernateEntityMetadata.initialize
      1. com.netvisor.data_model_metadata.HibernateEntityMetadata.appendValueProperties(HibernateEntityMetadata.java:931)
      2. com.netvisor.data_model_metadata.HibernateEntityMetadata.initializeProperty(HibernateEntityMetadata.java:728)
      3. com.netvisor.data_model_metadata.HibernateEntityMetadata.initializeFromPersistentClass(HibernateEntityMetadata.java:618)
      4. com.netvisor.data_model_metadata.HibernateEntityMetadata.initialize(HibernateEntityMetadata.java:447)
      4 frames
    4. com.netvisor.uma
      UserMetadata.initialize
      1. com.netvisor.uma.UMAEntityMetadata.initialize(UMAEntityMetadata.java:28)
      2. com.netvisor.uma.UserMetadata.initialize(UserMetadata.java:27)
      2 frames
    5. com.netvisor.data_model_metadata
      HibernateMetaSpace.<init>
      1. com.netvisor.data_model_metadata.MetaSpace.initialize(MetaSpace.java:63)
      2. com.netvisor.data_model_metadata.HibernateMetaSpace.<init>(HibernateMetaSpace.java:50)
      2 frames
    6. com.netvisor.uma
      UMAHibernateConnectionManager.findMetaSpaceFrom
      1. com.netvisor.uma.UMAMetaSpace.<init>(UMAMetaSpace.java:85)
      2. com.netvisor.uma.UMAMetaSpace.<clinit>(UMAMetaSpace.java:59)
      3. com.netvisor.uma.UMAHibernateConnectionManager.findMetaSpaceFrom(UMAHibernateConnectionManager.java:69)
      3 frames