java.lang.NullPointerException: null

Kuali JIRA | Erik Meade | 3 years ago
  1. 0

    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}

    Kuali JIRA | 3 years ago | Erik Meade
    java.lang.NullPointerException: null
  2. 0

    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}

    Kuali JIRA | 3 years ago | Erik Meade
    java.lang.NullPointerException: null
  3. 0
    Elasticsearch 1.x and 2.x nodes are not compatible, make sure your setup contains nodes of the same major version.
    via GitHub by dakrone
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    It is a JDK bug, no workaround currently.
    via GitHub by jroper
  6. 0
    Some of the parametes ar enull

    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.NullPointerException

      null

      at org.kuali.rice.krad.data.metadata.impl.DataObjectAttributeImpl.toString()
    2. org.kuali.rice
      DataObjectAttributeImpl.toString
      1. org.kuali.rice.krad.data.metadata.impl.DataObjectAttributeImpl.toString(DataObjectAttributeImpl.java:162)
      1 frame
    3. Java RT
      StringBuilder.append
      1. java.lang.String.valueOf(String.java:2826)
      2. java.lang.StringBuilder.append(StringBuilder.java:115)
      3. java.util.AbstractCollection.toString(AbstractCollection.java:422)
      4. java.util.Collections$UnmodifiableCollection.toString(Collections.java:1001)
      5. java.lang.String.valueOf(String.java:2826)
      6. java.lang.StringBuilder.append(StringBuilder.java:115)
      6 frames
    4. org.kuali.rice
      DataObjectMetadataImpl.toString
      1. org.kuali.rice.krad.data.metadata.impl.DataObjectMetadataImpl.toString(DataObjectMetadataImpl.java:477)
      1 frame
    5. Java RT
      PrintStream.println
      1. java.lang.String.valueOf(String.java:2826)
      2. java.io.PrintStream.println(PrintStream.java:771)
      2 frames
    6. org.kuali.rice
      JpaMetadataProviderTest.testGetMetadataForClass_ClassData
      1. org.kuali.rice.krad.data.jpa.JpaMetadataProviderTest.testGetMetadataForClass_ClassData(JpaMetadataProviderTest.java:80)
      1 frame