[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-4316) NPE while using content assist for ui:composition
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Thu May 14 12:12:46 EDT 2009
[ https://jira.jboss.org/jira/browse/JBIDE-4316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov updated JBIDE-4316:
----------------------------------
Component/s: UpStream
This is a bug of WTP.
> NPE while using content assist for ui:composition
> -------------------------------------------------
>
> Key: JBIDE-4316
> URL: https://jira.jboss.org/jira/browse/JBIDE-4316
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml source editing, UpStream
> Affects Versions: 3.0.1.GA
> Reporter: Yura Zhishko
> Assignee: Alexey Kazakov
> Attachments: screenshot-1.jpg, TestComp5.zip
>
>
> 1) Import attached project
> 2) Open panelMenu.xhtml
> 3) Go to the End of file
> 4) Delete some symbols in </ui:composition> (see screenshot-1)
> 5) Try to call content assist
> RESULT: NPE in log.
> java.lang.NullPointerException
> at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.getMatchString(AbstractContentAssistProcessor.java:2113)
> at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1368)
> at org.eclipse.wst.html.ui.internal.contentassist.HTMLContentAssistProcessor.computeCompletionProposals(HTMLContentAssistProcessor.java:308)
> at org.jboss.tools.jst.jsp.contentassist.FaceletsHtmlContentAssistProcessor.computeCompletionProposals(FaceletsHtmlContentAssistProcessor.java:114)
> at org.jboss.tools.common.text.xml.contentassist.SortingCompoundContentAssistProcessor.computeCompletionProposals(SortingCompoundContentAssistProcessor.java:194)
> at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:303)
> at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1832)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:556)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:553)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:488)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:482)
> at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1660)
> at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:446)
> at org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor$JSPStructuredTextViewer.doOperation(JSPTextEditor.java:683)
> at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
> at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
> at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
> at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
> at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
> at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
> at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
> at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
> at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
> at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
> at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
> at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1191)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1040)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1036)
> at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1360)
> at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:4051)
> at org.eclipse.swt.widgets.Canvas.WM_CHAR(Canvas.java:346)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3944)
> at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2403)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2401)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2365)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2217)
> 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(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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: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