[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4757) NPE when try to open xhtml page from jar file

Yura Zhishko (JIRA) jira-events at lists.jboss.org
Tue Aug 18 12:00:27 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12481490#action_12481490 ] 

Yura Zhishko commented on JBIDE-4757:
-------------------------------------

And this exception occurs when we try to make an open-on for some source element.

> NPE when try to open xhtml page from jar file
> ---------------------------------------------
>
>                 Key: JBIDE-4757
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4757
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: common, jsp/jsf/xml source editing
>    Affects Versions: 3.1.0.M3
>            Reporter: Yura Zhishko
>            Assignee: Victor Rubezhny
>             Fix For: 3.1.0.M3
>
>
> 1) Import project from https://svn.jboss.org/repos/jbosstools/trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/JBIDE3247 into workspace.
> 2) Open paginator.xhtml from mareashkau.jar file using JBTools Editor
> RESULT:
> java.lang.NullPointerException
> at org.jboss.tools.common.el.core.resolver.ELResolverFactoryManager.getResolvers(ELResolverFactoryManager.java:55)
> at org.jboss.tools.jst.jsp.contentassist.AbstractXMLContentAssistProcessor.getELResolvers(AbstractXMLContentAssistProcessor.java:650)
> at org.jboss.tools.jst.jsp.contentassist.XmlContentAssistProcessor.createContext(XmlContentAssistProcessor.java:47)
> at org.jboss.tools.jst.jsp.contentassist.JspContentAssistProcessor.createContext(JspContentAssistProcessor.java:70)
> at org.jboss.tools.jst.jsp.contentassist.FaceletPageContectAssistProcessor.createContext(FaceletPageContectAssistProcessor.java:58)
> at org.jboss.tools.jst.jsp.contentassist.JspContentAssistProcessor.createContext(JspContentAssistProcessor.java:1)
> at org.jboss.tools.jst.jsp.contentassist.AbstractXMLContentAssistProcessor.createContext(AbstractXMLContentAssistProcessor.java:243)
> at org.jboss.tools.jst.jsp.outline.JSPPropertySourceAdapter.setTarget(JSPPropertySourceAdapter.java:106)
> at org.jboss.tools.jst.jsp.outline.JSPPropertySourceAdapter.<init>(JSPPropertySourceAdapter.java:84)
> at org.jboss.tools.jst.jsp.outline.JSPPropertySheetConfiguration$JSPPropertySourceProvider0.getPropertySource(JSPPropertySheetConfiguration.java:56)
> at org.eclipse.ui.views.properties.PropertySheetEntry.getPropertySource(PropertySheetEntry.java:470)
> at org.eclipse.ui.views.properties.PropertySheetEntry.setValues(PropertySheetEntry.java:752)
> at org.eclipse.ui.views.properties.PropertySheetViewer.setInput(PropertySheetViewer.java:973)
> at org.eclipse.ui.views.properties.PropertySheetPage.selectionChanged(PropertySheetPage.java:510)
> at org.eclipse.wst.sse.ui.internal.properties.ConfigurablePropertySheetPage.selectionChanged(ConfigurablePropertySheetPage.java:174)
> at org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179)
> at org.eclipse.ui.internal.AbstractSelectionService$2.selectionChanged(AbstractSelectionService.java:71)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageSelectionProvider$2.run(JSPMultiPageSelectionProvider.java:144)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageSelectionProvider.fireSelectionChanged(JSPMultiPageSelectionProvider.java:142)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageSelectionProvider.firePostSelectionChanged(JSPMultiPageSelectionProvider.java:131)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor$1.handlePostSelectionChanged(JSPMultiPageEditor.java:330)
> at org.jboss.tools.jst.jsp.jspeditor.JSPMultiPageEditor$1$1.selectionChanged(JSPMultiPageEditor.java:313)
> at org.eclipse.wst.sse.ui.StructuredTextEditor$5.run(StructuredTextEditor.java:627)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.fireSelectionChanged(StructuredTextEditor.java:625)
> at org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.handlePostSelectionChanged(StructuredTextEditor.java:706)
> at org.eclipse.wst.sse.ui.StructuredTextEditor$4.selectionChanged(StructuredTextEditor.java:599)
> at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2731)
> at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2679)
> at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2658)
> at org.eclipse.swt.widgets.Display.timerProc(Display.java:3978)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1858)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list