java.lang.NullPointerException

Spring JIRA | Christian Dupuis | 1 decade ago
  1. 0

    While invoking content assist the following NPE is thrown {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.editor.BeansEditorUtils.getBeansFromConfigSets(BeansEditorUtils.java:51) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addBeanReferenceProposals(BeansContentAssistProcessor.java:548) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.computeAttributeValueProposals(BeansContentAssistProcessor.java:866) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addAttributeValueProposals(BeansContentAssistProcessor.java:526) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1139) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1173) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:91) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1278) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:101) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:232) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1503) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:301) {code}

    Spring JIRA | 1 decade ago | Christian Dupuis
    java.lang.NullPointerException
  2. 0

    While invoking content assist the following NPE is thrown {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.editor.BeansEditorUtils.getBeansFromConfigSets(BeansEditorUtils.java:51) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addBeanReferenceProposals(BeansContentAssistProcessor.java:548) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.computeAttributeValueProposals(BeansContentAssistProcessor.java:866) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addAttributeValueProposals(BeansContentAssistProcessor.java:526) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1139) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1173) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:91) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1278) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:101) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:232) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1503) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:301) {code}

    Spring JIRA | 1 decade ago | Christian Dupuis
    java.lang.NullPointerException
  3. 0

    Typing <content assist char> at, e.g., the place marked (*) triggers the following trace: {code} <bean id="portletRedirectHandler" factory-bean="portletRequestHandler" factory-method="(*)" {code} The parent bean does exist, and it doesn't seem to matter whether I place the closing tag on the end or not. {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.editor.BeansEditorUtils.getClassNamesOfBean(BeansEditorUtils.java:264) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.computeAttributeValueProposals(BeansContentAssistProcessor.java:782) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addAttributeValueProposals(BeansContentAssistProcessor.java:492) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1139) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1173) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:91) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1278) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:101) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:232) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1503) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:301) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access####13(CompletionProposalPopup.java:298) at org.eclipse.jface.text.contentassist.CompletionProposalPopup####2.run(CompletionProposalPopup.java:261) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) {code}

    Spring JIRA | 1 decade ago | Imported
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    On hitting content assist at the position [*] in the following definition {code} <bean id="componentChoice" class="uk.ac.cam.caret.rsf.testcomponents.beans.ComponentChoiceBean"> <property name="requestBeanLocator" ref="req[*]></property> <property name="dateEvolvers" ref="dateEvolvers" /> <property name="textEvolvers" ref="textEvolvers" /> <property name="localeSetter" ref="localeSetter" /> </bean> {code} I received the following NPE {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.editor.BeansEditorUtils.getBeansFromConfigSets(BeansEditorUtils.java:157) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addBeanReferenceProposals(BeansContentAssistProcessor.java:500) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.computeAttributeValueProposals(BeansContentAssistProcessor.java:800) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addAttributeValueProposals(BeansContentAssistProcessor.java:477) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1164) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1198) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:102) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1303) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:113) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:233) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1612) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:473) {code} The project does have a valid config set populated with 6 context files.

    Spring JIRA | 1 decade ago | Imported
    java.lang.NullPointerException
  6. 0

    I get an NPE when invoking content-assist on attribute representing factory-method - assist point is marked with ** in the following line: {code} <bean id="fallbackBeans" factory-bean="rsacBeanLocator" factory-method="**"> </bean> {code} Config: Spring IDE 1.2.5, Eclipse 3.1.1 stable with WST "all-in-one". May possibly be duplicate of #237. {code} java.lang.NullPointerException at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.computeAttributeValueProposals(BeansContentAssistProcessor.java:788) at org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addAttributeValueProposals(BeansContentAssistProcessor.java:522) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeEqualsProposals(AbstractContentAssistProcessor.java:1429) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1162) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:91) at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1278) at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:101) at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:232) at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1503) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:301) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access####13(CompletionProposalPopup.java:298) at org.eclipse.jface.text.contentassist.CompletionProposalPopup####2.run(CompletionProposalPopup.java:261) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) {code}

    Spring JIRA | 1 decade ago | Imported
    java.lang.NullPointerException

    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

      No message provided

      at org.springframework.ide.eclipse.beans.ui.editor.BeansEditorUtils.getBeansFromConfigSets()
    2. org.springframework.ide
      BeansContentAssistProcessor.addAttributeValueProposals
      1. org.springframework.ide.eclipse.beans.ui.editor.BeansEditorUtils.getBeansFromConfigSets(BeansEditorUtils.java:51)
      2. org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addBeanReferenceProposals(BeansContentAssistProcessor.java:548)
      3. org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.computeAttributeValueProposals(BeansContentAssistProcessor.java:866)
      4. org.springframework.ide.eclipse.beans.ui.editor.contentassist.BeansContentAssistProcessor.addAttributeValueProposals(BeansContentAssistProcessor.java:526)
      4 frames
    3. org.eclipse.wst
      XMLContentAssistProcessor.computeCompletionProposals
      1. org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1139)
      2. org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1173)
      3. org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:91)
      4. org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1278)
      5. org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:101)
      5 frames
    4. Structured Source Editor
      CompoundContentAssistProcessor.computeCompletionProposals
      1. org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:232)
      1 frame
    5. JFace Text
      CompletionProposalPopup.computeProposals
      1. org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1503)
      2. org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:301)
      2 frames