java.lang.NullPointerException

SpringSource Issue Tracker | Martin Lippert | 4 years ago
  1. 0

    When starting up a workspace with a project that has a broken .springBeans file (with Java classes configured as spring configs that don't exist), you get the following exception: java.lang.NullPointerException at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:346) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:323) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionHandler.endElement(BeansProjectDescriptionHandler.java:192) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.readDescriptionFromFile(BeansProjectDescriptionReader.java:81) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.read(BeansProjectDescriptionReader.java:61) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.populateModel(BeansProject.java:965) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:622) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.accept(BeansProject.java:148) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.start(BeansModel.java:129) at org.springframework.ide.eclipse.beans.core.BeansCorePlugin$2.run(BeansCorePlugin.java:175) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 4 years ago | Martin Lippert (c)
    java.lang.NullPointerException
  2. 0

    When starting up a workspace with a project that has a broken .springBeans file (with Java classes configured as spring configs that don't exist), you get the following exception: java.lang.NullPointerException at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:346) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:323) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionHandler.endElement(BeansProjectDescriptionHandler.java:192) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.readDescriptionFromFile(BeansProjectDescriptionReader.java:81) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.read(BeansProjectDescriptionReader.java:61) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.populateModel(BeansProject.java:965) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:622) at org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.accept(BeansProject.java:148) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.start(BeansModel.java:129) at org.springframework.ide.eclipse.beans.core.BeansCorePlugin$2.run(BeansCorePlugin.java:175) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 4 years ago | Martin Lippert
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.core.internal.model.BeansProject.addConfig()
    2. org.springframework.ide
      BeansProjectDescriptionHandler.endElement
      1. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:346)
      2. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.addConfig(BeansProject.java:323)
      3. org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionHandler.endElement(BeansProjectDescriptionHandler.java:192)
      3 frames
    3. Xerces2-j
      SAXParserImpl.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      10. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      10 frames
    4. org.springframework.ide
      BeansCorePlugin$2.run
      1. org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.readDescriptionFromFile(BeansProjectDescriptionReader.java:81)
      2. org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectDescriptionReader.read(BeansProjectDescriptionReader.java:61)
      3. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.populateModel(BeansProject.java:965)
      4. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.getConfigs(BeansProject.java:622)
      5. org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.accept(BeansProject.java:148)
      6. org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.start(BeansModel.java:129)
      7. org.springframework.ide.eclipse.beans.core.BeansCorePlugin$2.run(BeansCorePlugin.java:175)
      7 frames
    5. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame