java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The following Unit tests fail with NPE in DataObjectAttributeImpl.toString(DataObjectAttributeImpl.java:162) {code} >>> org.kuali.rice.krad.data.jpa.JpaMetadataProviderTest.testGetMetadataForClass_Attributes 0 ms 17 >>> org.kuali.rice.krad.data.jpa.JpaMetadataProviderTest.testGetMetadataForClass_ClassData 0 ms 17 >>> org.kuali.rice.krad.data.jpa.eclipselink.EclipseLinkAnnotationMetadataProviderImplTest.testConvertersEstabished_autoApply_Boolean 16 ms 17 >>> org.kuali.rice.krad.data.jpa.eclipselink.EclipseLinkAnnotationMetadataProviderImplTest.testExtensionAttribute_eclipselink_data 3 ms 17 >>> org.kuali.rice.krad.data.jpa.eclipselink.EclipseLinkAnnotationMetadataProviderImplTest.testConvertersEstabished_directAssignment 3 ms 17 >>> org.kuali.rice.krad.data.jpa.eclipselink.EclipseLinkAnnotationMetadataProviderImplTest.testConvertersEstabished_autoApply 3 ms 17 >>> org.kuali.rice.krad.data.provider.CompositeMetadataProviderImplTest.testMergedSpringAttribute_Remove 36 ms 17 >>> org.kuali.rice.krad.data.provider.CompositeMetadataProviderImplTest.testProvideMetadata 21 ms 17 >>> org.kuali.rice.krad.data.provider.CompositeMetadataProviderImplTest.testMergedSpringAttribute 4 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testNonPersistableProperty 12 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testProvideMetadata 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testInheritedProperties_labelOverride 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testExtensionAttribute_metadataRelationship 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testCollectionAnnotation_derivedType 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testBusinessKeyMetadata 1 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testMergedAttribute 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testInheritedProperties 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testReadOnlyAnnotation {code} {code} java.lang.NullPointerException: null at org.kuali.rice.krad.data.metadata.impl.DataObjectAttributeImpl.toString(DataObjectAttributeImpl.java:162) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at java.util.AbstractCollection.toString(AbstractCollection.java:422) at java.util.Collections$UnmodifiableCollection.toString(Collections.java:1001) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at org.kuali.rice.krad.data.metadata.impl.DataObjectMetadataImpl.toString(DataObjectMetadataImpl.java:477) at java.lang.String.valueOf(String.java:2826) at java.io.PrintStream.println(PrintStream.java:771) at org.kuali.rice.krad.data.jpa.JpaMetadataProviderTest.testGetMetadataForClass_ClassData(JpaMetadataProviderTest.java:80) {code}
    via by Erik Meade,
  • The following Unit tests fail with NPE in DataObjectAttributeImpl.toString(DataObjectAttributeImpl.java:162) {code} >>> org.kuali.rice.krad.data.jpa.JpaMetadataProviderTest.testGetMetadataForClass_Attributes 0 ms 17 >>> org.kuali.rice.krad.data.jpa.JpaMetadataProviderTest.testGetMetadataForClass_ClassData 0 ms 17 >>> org.kuali.rice.krad.data.jpa.eclipselink.EclipseLinkAnnotationMetadataProviderImplTest.testConvertersEstabished_autoApply_Boolean 16 ms 17 >>> org.kuali.rice.krad.data.jpa.eclipselink.EclipseLinkAnnotationMetadataProviderImplTest.testExtensionAttribute_eclipselink_data 3 ms 17 >>> org.kuali.rice.krad.data.jpa.eclipselink.EclipseLinkAnnotationMetadataProviderImplTest.testConvertersEstabished_directAssignment 3 ms 17 >>> org.kuali.rice.krad.data.jpa.eclipselink.EclipseLinkAnnotationMetadataProviderImplTest.testConvertersEstabished_autoApply 3 ms 17 >>> org.kuali.rice.krad.data.provider.CompositeMetadataProviderImplTest.testMergedSpringAttribute_Remove 36 ms 17 >>> org.kuali.rice.krad.data.provider.CompositeMetadataProviderImplTest.testProvideMetadata 21 ms 17 >>> org.kuali.rice.krad.data.provider.CompositeMetadataProviderImplTest.testMergedSpringAttribute 4 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testNonPersistableProperty 12 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testProvideMetadata 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testInheritedProperties_labelOverride 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testExtensionAttribute_metadataRelationship 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testCollectionAnnotation_derivedType 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testBusinessKeyMetadata 1 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testMergedAttribute 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testInheritedProperties 2 ms 17 >>> org.kuali.rice.krad.data.provider.annotation.impl.AnnotationMetadataProviderImplTest.testReadOnlyAnnotation {code} {code} java.lang.NullPointerException: null at org.kuali.rice.krad.data.metadata.impl.DataObjectAttributeImpl.toString(DataObjectAttributeImpl.java:162) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at java.util.AbstractCollection.toString(AbstractCollection.java:422) at java.util.Collections$UnmodifiableCollection.toString(Collections.java:1001) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at org.kuali.rice.krad.data.metadata.impl.DataObjectMetadataImpl.toString(DataObjectMetadataImpl.java:477) at java.lang.String.valueOf(String.java:2826) at java.io.PrintStream.println(PrintStream.java:771) at org.kuali.rice.krad.data.jpa.JpaMetadataProviderTest.testGetMetadataForClass_ClassData(JpaMetadataProviderTest.java:80) {code}
    via by Erik Meade,
    • java.lang.NullPointerException: null at org.kuali.rice.krad.data.metadata.impl.DataObjectAttributeImpl.toString(DataObjectAttributeImpl.java:162) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at java.util.AbstractCollection.toString(AbstractCollection.java:422) at java.util.Collections$UnmodifiableCollection.toString(Collections.java:1001) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at org.kuali.rice.krad.data.metadata.impl.DataObjectMetadataImpl.toString(DataObjectMetadataImpl.java:477) at java.lang.String.valueOf(String.java:2826) at java.io.PrintStream.println(PrintStream.java:771) at org.kuali.rice.krad.data.jpa.JpaMetadataProviderTest.testGetMetadataForClass_ClassData(JpaMetadataProviderTest.java:80)
    No Bugmate found.