Spring plugin error

I haven't seen this one reported yet. I had just added my config file and hit ok to go back to editing when this popped up. I haven't tried everything, but it seems like it's still working though, after clicking through the error.

Tobin

3 comments

i just couldnt get mine to work

this is the exception i get

ovider org.apache.xerces.jaxp.DocumentBuilderFactoryLocator could not be instantiated: java.lang.NullPointerException
javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryLocator could not be instantiated: java.lang.NullPointerException
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:104)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilderFactory(XmlBeanDefinitionReader.java:192)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:143)
at com.yanaware.intellij.ideaspring.parser.SpringParserImpl.analyzeFiles(SpringParserImpl.java:567)
at com.yanaware.intellij.ideaspring.parser.SpringParserImpl.browseSets(SpringParserImpl.java:596)
at com.yanaware.intellij.ideaspring.parser.SpringParserImpl.access$200(SpringParserImpl.java:63)
at com.yanaware.intellij.ideaspring.parser.SpringParserImpl$2$1.run(SpringParserImpl.java:268)
at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryLocator could not be instantiated: java.lang.NullPointerException
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:104)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createDocumentBuilderFactory(XmlBeanDefinitionReader.java:192)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:143)
at com.yanaware.intellij.ideaspring.parser.SpringParserImpl.analyzeFiles(SpringParserImpl.java:567)
at com.yanaware.intellij.ideaspring.parser.SpringParserImpl.browseSets(SpringParserImpl.java:596)
at com.yanaware.intellij.ideaspring.parser.SpringParserImpl.access$200(SpringParserImpl.java:63)
at com.yanaware.intellij.ideaspring.parser.SpringParserImpl$2$1.run(SpringParserImpl.java:268)
at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

0

This is just a guess, but are you sure you copied the idea-spring-parser.jar file into the $IDEA_HOME/lib directory? I followed the instructions here (including the readme.txt) and everything was fine.

http://www.intellij.net/forums/thread.jsp?forum=18&thread=158333&message=4908984#4908984

Tobin

0

didnt read the readme.txt .. bad mistake

thanks for the tip

works fine now

cheers,
parthi

0

Please sign in to leave a comment.