java.lang.NullPointerException

Coderanch | premchand Singh | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    JAXBContext.newInstance error while creating the instance of JAXBContext.newInstance

    Coderanch | 2 years ago | premchand Singh
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.sun.xml.bind.GrammarInfoFacade.getProbePoints()
    2. Old JAXB Runtime
      ContextFactory.createContext
      1. com.sun.xml.bind.GrammarInfoFacade.getProbePoints(GrammarInfoFacade.java:68)
      2. com.sun.xml.bind.GrammarInfoFacade.<init>(GrammarInfoFacade.java:38)
      3. com.sun.xml.bind.GrammarInfoFacade.createGrammarInfoFacade(GrammarInfoFacade.java:110)
      4. com.sun.xml.bind.DefaultJAXBContextImpl.<init>(DefaultJAXBContextImpl.java:57)
      5. com.sun.xml.bind.ContextFactory.createContext(ContextFactory.java:27)
      5 frames
    3. Java RT
      JAXBContext.newInstance
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      5. javax.xml.bind.ContextFinder.newInstance(Unknown Source)
      6. javax.xml.bind.ContextFinder.newInstance(Unknown Source)
      7. javax.xml.bind.ContextFinder.find(Unknown Source)
      8. javax.xml.bind.JAXBContext.newInstance(Unknown Source)
      9. javax.xml.bind.JAXBContext.newInstance(Unknown Source)
      10. javax.xml.bind.JAXBContext.newInstance(Unknown Source)
      10 frames
    4. com.company.glc
      InterfaceHandler.main
      1. com.company.glc.util.clarity.mapper.ProjectPojoXMLMapper.createProjectXML(ProjectPojoXMLMapper.java:46)
      2. com.company.glc.job.InterfaceHandler.process(InterfaceHandler.java:216)
      3. com.company.glc.job.InterfaceHandler.main(InterfaceHandler.java:360)
      3 frames