java.lang.NullPointerException

Spring JIRA | Oliver Gierke | 6 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

    ... when browsing the Spring Explorer. {code} eclipse.buildId=2.5.0.201008251000-M3 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86 -clean -product com.springsource.sts.ide Error Thu Oct 07 14:26:03 CEST 2010 Problems occurred when invoking code from plug-in: "org.eclipse.jface". java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabels.appendElementLabel(BeansNamespaceLabels.java:48) at org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabels.getElementLabel(BeansNamespaceLabels.java:32) at org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabelProvider.getElementLabel(BeansNamespaceLabelProvider.java:26) at org.springframework.ide.eclipse.beans.ui.namespaces.DefaultNamespaceLabelProvider.getText(DefaultNamespaceLabelProvider.java:80) at com.springsource.sts.ide.metadata.ui.AnnotationMetadataLabelProvider.getText(AnnotationMetadataLabelProvider.java:89) at org.springframework.ide.eclipse.beans.ui.model.BeansModelLabelProvider.getText(BeansModelLabelProvider.java:108) at org.springframework.ide.eclipse.beans.ui.navigator.BeansNavigatorLabelProvider.getText(BeansNavigatorLabelProvider.java:166) at org.springframework.ide.eclipse.ui.viewers.DecoratingWorkbenchTreePathLabelProvider.getText(DecoratingWorkbenchTreePathLabelProvider.java:57) at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findStyledText(NavigatorContentServiceLabelProvider.java:171) at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getStyledText(NavigatorContentServiceLabelProvider.java:151) at org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getStyledText(NavigatorDecoratingLabelProvider.java:68) at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getStyledText(DelegatingStyledCellLabelProvider.java:195) ... {code}

    Spring JIRA | 6 years ago | Oliver Gierke
    java.lang.NullPointerException
  2. 0

    ... when browsing the Spring Explorer. {code} eclipse.buildId=2.5.0.201008251000-M3 java.version=1.6.0_13 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE Framework arguments: -product com.springsource.sts.ide Command-line arguments: -os win32 -ws win32 -arch x86 -clean -product com.springsource.sts.ide Error Thu Oct 07 14:26:03 CEST 2010 Problems occurred when invoking code from plug-in: "org.eclipse.jface". java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabels.appendElementLabel(BeansNamespaceLabels.java:48) at org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabels.getElementLabel(BeansNamespaceLabels.java:32) at org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabelProvider.getElementLabel(BeansNamespaceLabelProvider.java:26) at org.springframework.ide.eclipse.beans.ui.namespaces.DefaultNamespaceLabelProvider.getText(DefaultNamespaceLabelProvider.java:80) at com.springsource.sts.ide.metadata.ui.AnnotationMetadataLabelProvider.getText(AnnotationMetadataLabelProvider.java:89) at org.springframework.ide.eclipse.beans.ui.model.BeansModelLabelProvider.getText(BeansModelLabelProvider.java:108) at org.springframework.ide.eclipse.beans.ui.navigator.BeansNavigatorLabelProvider.getText(BeansNavigatorLabelProvider.java:166) at org.springframework.ide.eclipse.ui.viewers.DecoratingWorkbenchTreePathLabelProvider.getText(DecoratingWorkbenchTreePathLabelProvider.java:57) at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findStyledText(NavigatorContentServiceLabelProvider.java:171) at org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getStyledText(NavigatorContentServiceLabelProvider.java:151) at org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getStyledText(NavigatorDecoratingLabelProvider.java:68) at org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getStyledText(DelegatingStyledCellLabelProvider.java:195) ... {code}

    Spring JIRA | 6 years ago | Oliver Gierke
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabels.appendElementLabel()
    2. org.springframework.ide
      DefaultNamespaceLabelProvider.getText
      1. org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabels.appendElementLabel(BeansNamespaceLabels.java:48)
      2. org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabels.getElementLabel(BeansNamespaceLabels.java:32)
      3. org.springframework.ide.eclipse.beans.ui.namespaces.BeansNamespaceLabelProvider.getElementLabel(BeansNamespaceLabelProvider.java:26)
      4. org.springframework.ide.eclipse.beans.ui.namespaces.DefaultNamespaceLabelProvider.getText(DefaultNamespaceLabelProvider.java:80)
      4 frames
    3. com.springsource.sts
      AnnotationMetadataLabelProvider.getText
      1. com.springsource.sts.ide.metadata.ui.AnnotationMetadataLabelProvider.getText(AnnotationMetadataLabelProvider.java:89)
      1 frame
    4. org.springframework.ide
      DecoratingWorkbenchTreePathLabelProvider.getText
      1. org.springframework.ide.eclipse.beans.ui.model.BeansModelLabelProvider.getText(BeansModelLabelProvider.java:108)
      2. org.springframework.ide.eclipse.beans.ui.navigator.BeansNavigatorLabelProvider.getText(BeansNavigatorLabelProvider.java:166)
      3. org.springframework.ide.eclipse.ui.viewers.DecoratingWorkbenchTreePathLabelProvider.getText(DecoratingWorkbenchTreePathLabelProvider.java:57)
      3 frames
    5. Common Navigator View
      NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getStyledText
      1. org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.findStyledText(NavigatorContentServiceLabelProvider.java:171)
      2. org.eclipse.ui.internal.navigator.NavigatorContentServiceLabelProvider.getStyledText(NavigatorContentServiceLabelProvider.java:151)
      3. org.eclipse.ui.internal.navigator.NavigatorDecoratingLabelProvider$StyledLabelProviderAdapter.getStyledText(NavigatorDecoratingLabelProvider.java:68)
      3 frames
    6. JFace
      DelegatingStyledCellLabelProvider.getStyledText
      1. org.eclipse.jface.viewers.DelegatingStyledCellLabelProvider.getStyledText(DelegatingStyledCellLabelProvider.java:195)
      1 frame