Exception in IdeaScript

Hi,

I tried to follow the tutorial for ideascript plugin. Trying to execute
the first example "Hello World" in an empty new project yielded the
error below. I think ideascript misses to deploy a library with itself.

Jean-Marie

An exception occurred while trying to run the script 'Hello World'
java.lang.RuntimeException: javax.xml.parsers.FactoryConfigurationError:
Provider org.apache.xerces.jaxp.DocumentBuilderFactoryLocator could not
be instantiated: java.lang.NullPointerException
at com.casalus.ideascript.invoker.JspInvoker.invoke(JspInvoker.java:44)
at
com.casalus.ideascript.ExecuteScriptAction$2.run(ExecuteScriptAction.java:40)
at
com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:370)
at
com.casalus.ideascript.ExecuteScriptAction$1.run(ExecuteScriptAction.java:37)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:102)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:66)
at
com.casalus.ideascript.IdeaFunctions.executeCommand(IdeaFunctions.java:95)
at
com.casalus.ideascript.ExecuteScriptAction.actionPerformed(ExecuteScriptAction.java:35)
at
com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:13)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at
com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:44)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:7)
at
com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:114)
at
com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:6)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:94)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:120)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:25)
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)
Caused by: 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.apache.jasper.xmlparser.ParserUtils.parseXMLDocument(ParserUtils.java:91)
at org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:70)
at org.apache.jasper.compiler.JspConfig.init(JspConfig.java:188)
at org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:240)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:160)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:495)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:476)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:464)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at com.casalus.ideascript.invoker.JspInvoker.invoke(JspInvoker.java:41)
... 35 more

Please sign in to leave a comment.