#7 Opening a JSP crashes if CS installed.

open
nobody
None
5
2004-06-14
2004-06-14
Tom Oehser
No

Hi, at some point recently, (I'm using NB3.6, Jalopy,
RefactorIt, and PMD also), something became
incompatible as far as JSPs and CheckStyle. Even
opening a JSP when it is installed gives
java.lang.NullPointerException
at
org.netbeans.modules.web.jspparser.JspParserImpl.getJspOpenInfo(JspParserImpl.java:113)
at
org.netbeans.modules.web.core.jsploader.TagLibParseSupport.getCachedOpenInfo(TagLibParseSupport.java:166)
at
org.netbeans.modules.web.core.jsploader.JspDataObject.getFileEncoding(JspDataObject.java:193)
at
org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport.getObjectEncoding(BaseJspEditorSupport.java:265)
at
org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport.open(BaseJspEditorSupport.java:174)
at
org.netbeans.modules.web.dd.wizards.ServletIterator.instantiate(ServletIterator.java:201)
at
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:528)
at
org.openide.loaders.TemplateWizard.instantiateImpl(TemplateWizard.java:444)
at
org.openide.loaders.TemplateWizard.instantiate(TemplateWizard.java:358)
at
org.openide.actions.NewTemplateAction.doShowWizard(NewTemplateAction.java:345)
at
org.openide.actions.NewTemplateAction.access$700(NewTemplateAction.java:51)
at
org.openide.actions.NewTemplateAction$MenuWithRecent$Item.actionPerformed(NewTemplateAction.java:302)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1113)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
at
java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at
java.awt.Component.dispatchEventImpl(Component.java:3615)
at
java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at
java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Which doesn't occur without checkstyle... -TOm

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks