Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314972

Summary: [content assist] Control + shift + space gives java.lang.NullPointerException almost everywhere
Product: [WebTools] WTP Source Editing Reporter: Flávio <servlet>
Component: wst.sseAssignee: Ian Tewksbury <itewksbu>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: major    
Priority: P3 CC: cameron.bateman, ccc, david_williams, jacek.pospychala, neil.hauge, Olivier_Thomann, raghunathan.srinivasan, remy.suen
Version: 3.2Flags: david_williams: pmc_approved+
raghunathan.srinivasan: pmc_approved+
thatnitind: pmc_approved? (naci.dai)
thatnitind: pmc_approved? (deboer)
neil.hauge: pmc_approved+
thatnitind: pmc_approved? (kaloyan)
thatnitind: review+
Target Milestone: 3.2 RC4   
Hardware: PC   
OS: Windows 7   
Whiteboard: PMC_approved
Attachments:
Description Flags
Fix Patch - New Class
none
Fix Patch - No New Class
none
Fix Patch - Update 1 none

Description Flávio CLA 2010-05-28 23:27:42 EDT
Build Identifier: Build id: 20100527-0614

Create a xml, xhtm, jsp, etc.. file then, open the file and press control + shift + space and Eclipse gives this error message:

"Context Information" did not complete normally.  Please see the log for more information.
java.lang.NullPointerException

Affects Eclipse 3.6 RC2

Reproducible: Always

Steps to Reproduce:
1.create a simple xml (can be empty).
2.open the file
3. press control + shift + space and Eclipse gives java.lang.NullPointerException
Comment 1 Remy Suen CLA 2010-05-29 05:49:09 EDT
(In reply to comment #0)
> "Context Information" did not complete normally.  Please see the log for more
> information.
> java.lang.NullPointerException

We need the logs. See the workspace/.metadata/.log file.
Comment 2 Flávio CLA 2010-05-31 12:46:34 EDT
!SESSION 2010-05-29 12:19:51.361 -----------------------------------------------
eclipse.buildId=I20100520-1744
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.ui 4 4 2010-05-29 12:22:31.992
!MESSAGE "Context Information" did not complete normally.  Please see the log for more information.
!ENTRY org.eclipse.ui 4 0 2010-05-29 12:22:31.992
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
 at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.getIteration(StructuredContentAssistProcessor.java:739)
 at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.collectContextInformation(StructuredContentAssistProcessor.java:488)
 at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.computeContextInformation(StructuredContentAssistProcessor.java:269)
 at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeContextInformation(CompoundContentAssistProcessor.java:162)
 at org.eclipse.jface.text.contentassist.ContentAssistant.computeContextInformation(ContentAssistant.java:1858)
 at org.eclipse.jface.text.contentassist.ContentAssistSubjectControlAdapter.computeContextInformation(ContentAssistSubjectControlAdapter.java:390)
 at org.eclipse.jface.text.contentassist.ContextInformationPopup.computeContextInformation(ContextInformationPopup.java:394)
 at org.eclipse.jface.text.contentassist.ContextInformationPopup.access$1(ContextInformationPopup.java:393)
 at org.eclipse.jface.text.contentassist.ContextInformationPopup$1.run(ContextInformationPopup.java:191)
 at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
 at org.eclipse.jface.text.contentassist.ContextInformationPopup.showContextProposals(ContextInformationPopup.java:186)
 at org.eclipse.jface.text.contentassist.ContentAssistant.showContextInformation(ContentAssistant.java:1712)
 at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:453)
 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:468)
 at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
 at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
 at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
 at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
 at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1051)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1076)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
 at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1102)
 at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1098)
 at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1807)
 at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4495)
 at org.eclipse.swt.widgets.Control.windowProc(Control.java:4190)
 at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
 at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
 at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
 at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
 at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
 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:369)
 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:619)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 3 Olivier Thomann CLA 2010-05-31 12:50:08 EDT
Move to WTP
Comment 4 Ian Tewksbury CLA 2010-06-01 14:11:24 EDT
Figured out the issue.  Working on fix.
Comment 5 Ian Tewksbury CLA 2010-06-01 15:59:27 EDT
Created attachment 170690 [details]
Fix Patch - New Class

The issue here stems from my gross misunderstanding of context assist back when I wrote the paged content assist.  Luckily the fix is not horrible.

Part of the issue is that the context assist is not paged but the StructuredContetnAssistProcessor was attempting to look up paging information to decide whether to display legacy extension contributions (that was the cause of the NPE).  Once the NPE was fixed there were some issues with implementations ofIContentAssistProcessor#getContextInformationValidator as well as ICompletionProposalComputer#computeContextInformation.

I actually have two slightly different fixes for this.  The first one I am attatching with this comment creates a new class org.eclipse.wst.sse.ui.internal.contentassist.ContextInformationValidator that pulls the IContextInformationValidator implementation out of AttributeContextInformationPresenter so it can be accessible by StructuredContentAssistProcessor#getContextInformationValidator so that #getContextInformationValidator can return this new ContextInformationValidator  rather then null.  In this patch AttributeContextInformationPresenter  is then updated to extend from the new ContextInformationValidator.

But since this is going in to need to go in WTP 3.2 I thought it may not be possible to introduce a new class so I will attach another patch that does not have this class.  The only real difference between the two patches (other then better readability) is that without the new class StructuredContentAssistProcessor#getContextInformationValidator will return null.

In both patches HTMLStructuredContentAssistProcessor, JSPStructuredContentAssistProcessor, and XMLStructuredContentAssistProcessor override #getContextInformationValidator to return an instance of AttributeContextInformationPresenter because of its its presenter interface implementation.

The other issue is that instead of seeing the context information as soon as ctrl+shift+space is invoked a content assist list with two options looking (and reality) identical options are displayed, clicking or pressing enter on either results in the same context information being shown.  This is caused by org.eclipse.jst.jsf.facelet.ui.internal.contentassist.XHTMLContentAssistProcessor a legacy content assist extension that is providing the same context information as StructuredContentAssistProcessor.  I will be opening a bug on the owner of this extension to rectify this issue.
Comment 6 Ian Tewksbury CLA 2010-06-01 16:00:36 EDT
Created attachment 170692 [details]
Fix Patch - No New Class

See comment #5 for the difference between this patch and the "Fix Patch - New Class"
Comment 7 Ian Tewksbury CLA 2010-06-01 16:18:21 EDT
(In reply to comment #5)
> The other issue is that instead of seeing the context information as soon as
> ctrl+shift+space is invoked a content assist list with two options looking (and
> reality) identical options are displayed, clicking or pressing enter on either
> results in the same context information being shown.  This is caused by
> org.eclipse.jst.jsf.facelet.ui.internal.contentassist.XHTMLContentAssistProcessor
> a legacy content assist extension that is providing the same context
> information as StructuredContentAssistProcessor.  I will be opening a bug on
> the owner of this extension to rectify this issue.

I have opened Bug 315293 to track this issue on the JSF team.
Comment 8 Nitin Dahyabhai CLA 2010-06-01 23:11:45 EDT
Adding internal classes is fine.  Is that the patch you want to put forth?
Comment 9 Ian Tewksbury CLA 2010-06-02 08:04:37 EDT
(In reply to comment #8)
> Adding internal classes is fine.  Is that the patch you want to put forth?

Yes.  I have obsoleted the other patch.
Comment 10 Ian Tewksbury CLA 2010-06-02 16:37:52 EDT
Created attachment 170881 [details]
Fix Patch - Update 1

(In reply to comment #7)
> (In reply to comment #5)
> > The other issue is that instead of seeing the context information as soon as
> > ctrl+shift+space is invoked a content assist list with two options looking (and
> > reality) identical options are displayed, clicking or pressing enter on either
> > results in the same context information being shown.  This is caused by
> > org.eclipse.jst.jsf.facelet.ui.internal.contentassist.XHTMLContentAssistProcessor
> > a legacy content assist extension that is providing the same context
> > information as StructuredContentAssistProcessor.  I will be opening a bug on
> > the owner of this extension to rectify this issue.
> 
> I have opened Bug 315293 to track this issue on the JSF team.

It turns out this duplication was actually caused by the fact that XHTMLContentAssistProcessor extends AbstractContentAssistProcessor which was providing the duplicate context information.  Because AbstractContentAssistProcessor has been depreciated and the only people still using it would be extending content assist through the legacy method this provided context would always be duplicated by the context provided by the new framework.  Thus I have updated the patch to make it so that AbstractContentAssistProcessor returns an empty array preventing any duplication.
Comment 11 Nitin Dahyabhai CLA 2010-06-02 20:16:34 EDT
* Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. 

Context information is made completely unavailable in SSE editors.  Fixing just the NPE alone, however, causes it to return invalid information--a clear regression from 3.1.

* Is there a work-around? If so, why do you believe the work-around is insufficient? 

None.

* How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? 

Manually tested.  No prior unit tests exist to establish the regression.

* Give a brief technical overview. Who has reviewed this fix? 

Avoids the NPE ad re-adds the context information that was missing before.  The old base content assist processor class is also changed not to return any context information to avoid conflicts from legacy contributions that extend our older code without specifically implementing that support.  Code reviewed and also tested by me.

* What is the risk associated with this fix?

Medium.  I can't pretend this is a small change, but most of it is refitting the old functionality into the new proposal-computer framework.
Comment 12 David Williams CLA 2010-06-02 20:50:59 EDT
I would like to see this fixed, since such a large regression (and source editing such a central function). 

Should be well tested by JSF (and Dali?) teams too ... make sure there's no special cases.
Comment 13 Neil Hauge CLA 2010-06-02 21:35:07 EDT
Approving based on major loss of function and this being a regression.
Comment 14 Raghunathan Srinivasan CLA 2010-06-03 09:41:51 EDT
serious regression.
Comment 15 Nitin Dahyabhai CLA 2010-06-03 12:40:32 EDT
Released v201006030742.
Comment 16 Flávio CLA 2010-06-11 14:13:49 EDT
(In reply to comment #15)
> Released v201006030742.

This problem is still present in Helios RC4!

!ENTRY org.eclipse.ui 4 0 2010-06-11 15:12:48.625
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.getIteration(StructuredContentAssistProcessor.java:739)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.collectContextInformation(StructuredContentAssistProcessor.java:488)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.computeContextInformation(StructuredContentAssistProcessor.java:269)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeContextInformation(CompoundContentAssistProcessor.java:162)
	at org.eclipse.jface.text.contentassist.ContentAssistant.computeContextInformation(ContentAssistant.java:1858)
	at org.eclipse.jface.text.contentassist.ContentAssistSubjectControlAdapter.computeContextInformation(ContentAssistSubjectControlAdapter.java:390)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.computeContextInformation(ContextInformationPopup.java:394)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.access$1(ContextInformationPopup.java:393)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup$1.run(ContextInformationPopup.java:191)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.showContextProposals(ContextInformationPopup.java:186)
	at org.eclipse.jface.text.contentassist.ContentAssistant.showContextInformation(ContentAssistant.java:1712)
	at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:453)
	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:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1808)
	at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4496)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4191)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	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:369)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 17 Flávio CLA 2010-06-11 14:27:45 EDT
Look, after working with Eclipse about two minutes, this problem disappeared.
The log don´t lie, but maybe the fix of this version is not enought for some situations. 

I can´t figure out yet, but will will take a closer look at home.

(In reply to comment #16)
> (In reply to comment #15)
> > Released v201006030742.
> This problem is still present in Helios RC4!
> !ENTRY org.eclipse.ui 4 0 2010-06-11 15:12:48.625
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
>     at
> org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.getIteration(StructuredContentAssistProcessor.java:739)
>     at
> org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.collectContextInformation(StructuredContentAssistProcessor.java:488)
>     at
> org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.computeContextInformation(StructuredContentAssistProcessor.java:269)
>     at
> org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeContextInformation(CompoundContentAssistProcessor.java:162)
>     at
> org.eclipse.jface.text.contentassist.ContentAssistant.computeContextInformation(ContentAssistant.java:1858)
>     at
> org.eclipse.jface.text.contentassist.ContentAssistSubjectControlAdapter.computeContextInformation(ContentAssistSubjectControlAdapter.java:390)
>     at
> org.eclipse.jface.text.contentassist.ContextInformationPopup.computeContextInformation(ContextInformationPopup.java:394)
>     at
> org.eclipse.jface.text.contentassist.ContextInformationPopup.access$1(ContextInformationPopup.java:393)
>     at
> org.eclipse.jface.text.contentassist.ContextInformationPopup$1.run(ContextInformationPopup.java:191)
>     at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
>     at
> org.eclipse.jface.text.contentassist.ContextInformationPopup.showContextProposals(ContextInformationPopup.java:186)
>     at
> org.eclipse.jface.text.contentassist.ContentAssistant.showContextInformation(ContentAssistant.java:1712)
>     at
> org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:453)
>     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:468)
>     at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
>     at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
>     at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
>     at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
>     at
> org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
>     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
>     at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
>     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
>     at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
>     at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
>     at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1808)
>     at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4496)
>     at org.eclipse.swt.widgets.Control.windowProc(Control.java:4191)
>     at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
>     at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
>     at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
>     at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
>     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
>     at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
>     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
>     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
>     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
>     at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>     at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
>     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
>     at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
>     at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>     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:369)
>     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:619)
>     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
>     at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 18 Flávio CLA 2010-06-11 14:36:19 EDT
Look, the problem really persists. Here is two log files. The first happens inside web.xml and the second inside xhtml files. I hope this can help.

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
INSIDE WEB.XML FILE
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

!ENTRY org.eclipse.ui 4 4 2010-06-11 15:33:41.459
!MESSAGE "Context Information" did not complete normally.  Please see the log for more information.

!ENTRY org.eclipse.ui 4 0 2010-06-11 15:33:41.459
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.getIteration(StructuredContentAssistProcessor.java:739)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.collectContextInformation(StructuredContentAssistProcessor.java:488)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.computeContextInformation(StructuredContentAssistProcessor.java:269)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeContextInformation(CompoundContentAssistProcessor.java:162)
	at org.eclipse.jface.text.contentassist.ContentAssistant.computeContextInformation(ContentAssistant.java:1858)
	at org.eclipse.jface.text.contentassist.ContentAssistSubjectControlAdapter.computeContextInformation(ContentAssistSubjectControlAdapter.java:390)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.computeContextInformation(ContextInformationPopup.java:394)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.access$1(ContextInformationPopup.java:393)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup$1.run(ContextInformationPopup.java:191)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.showContextProposals(ContextInformationPopup.java:186)
	at org.eclipse.jface.text.contentassist.ContentAssistant.showContextInformation(ContentAssistant.java:1712)
	at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:453)
	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:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1808)
	at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4496)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4191)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4886)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	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:369)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)


&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
INSIDE XHTML FILE
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

!ENTRY org.eclipse.wst.sse.ui 2 0 2010-06-11 15:34:48.898
!MESSAGE The ''org.eclipse.wst.html.ui.proposalComputer.htmlTags'' proposal computer from the ''org.eclipse.wst.html.ui'' plug-in did not complete normally. The extension has thrown a runtime exception.
!STACK 0
java.lang.NullPointerException
	at org.eclipse.wst.xml.ui.internal.contentassist.ContextInfoModelUtil.getXMLNode(ContextInfoModelUtil.java:58)
	at org.eclipse.wst.xml.ui.internal.contentassist.AttributeContextInformationProvider.getAttributeInformation(AttributeContextInformationProvider.java:86)
	at org.eclipse.wst.xml.ui.internal.contentassist.AbstractXMLCompletionProposalComputer.computeContextInformation(AbstractXMLCompletionProposalComputer.java:207)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompletionProposalComputerDescriptor.computeContextInformation(CompletionProposalComputerDescriptor.java:332)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompletionProposalCategory.computeContextInformation(CompletionProposalCategory.java:324)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.collectContextInformation(StructuredContentAssistProcessor.java:479)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.computeContextInformation(StructuredContentAssistProcessor.java:269)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeContextInformation(CompoundContentAssistProcessor.java:162)
	at org.eclipse.jface.text.contentassist.ContentAssistant.computeContextInformation(ContentAssistant.java:1858)
	at org.eclipse.jface.text.contentassist.ContentAssistSubjectControlAdapter.computeContextInformation(ContentAssistSubjectControlAdapter.java:390)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.computeContextInformation(ContextInformationPopup.java:394)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.access$1(ContextInformationPopup.java:393)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup$1.run(ContextInformationPopup.java:191)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.showContextProposals(ContextInformationPopup.java:186)
	at org.eclipse.jface.text.contentassist.ContentAssistant.showContextInformation(ContentAssistant.java:1712)
	at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:453)
	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:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1808)
	at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4496)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4191)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	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:369)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

!ENTRY org.eclipse.wst.sse.ui 2 0 2010-06-11 15:34:48.914
!MESSAGE The ''org.eclipse.wst.html.ui.proposalComputer.htmlTemplates'' proposal computer from the ''org.eclipse.wst.html.ui'' plug-in did not complete normally. The extension has thrown a runtime exception.
!STACK 0
java.lang.NullPointerException
	at org.eclipse.wst.xml.ui.internal.contentassist.ContextInfoModelUtil.getXMLNode(ContextInfoModelUtil.java:58)
	at org.eclipse.wst.xml.ui.internal.contentassist.AttributeContextInformationProvider.getAttributeInformation(AttributeContextInformationProvider.java:86)
	at org.eclipse.wst.xml.ui.internal.contentassist.AbstractXMLCompletionProposalComputer.computeContextInformation(AbstractXMLCompletionProposalComputer.java:207)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompletionProposalComputerDescriptor.computeContextInformation(CompletionProposalComputerDescriptor.java:332)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompletionProposalCategory.computeContextInformation(CompletionProposalCategory.java:324)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.collectContextInformation(StructuredContentAssistProcessor.java:479)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.computeContextInformation(StructuredContentAssistProcessor.java:269)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeContextInformation(CompoundContentAssistProcessor.java:162)
	at org.eclipse.jface.text.contentassist.ContentAssistant.computeContextInformation(ContentAssistant.java:1858)
	at org.eclipse.jface.text.contentassist.ContentAssistSubjectControlAdapter.computeContextInformation(ContentAssistSubjectControlAdapter.java:390)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.computeContextInformation(ContextInformationPopup.java:394)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.access$1(ContextInformationPopup.java:393)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup$1.run(ContextInformationPopup.java:191)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.showContextProposals(ContextInformationPopup.java:186)
	at org.eclipse.jface.text.contentassist.ContentAssistant.showContextInformation(ContentAssistant.java:1712)
	at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:453)
	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:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1808)
	at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4496)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4191)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	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:369)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

!ENTRY org.eclipse.ui 4 4 2010-06-11 15:34:48.914
!MESSAGE "Context Information" did not complete normally.  Please see the log for more information.

!ENTRY org.eclipse.ui 4 0 2010-06-11 15:34:48.914
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.getIteration(StructuredContentAssistProcessor.java:739)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.collectContextInformation(StructuredContentAssistProcessor.java:488)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.computeContextInformation(StructuredContentAssistProcessor.java:269)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeContextInformation(CompoundContentAssistProcessor.java:162)
	at org.eclipse.jface.text.contentassist.ContentAssistant.computeContextInformation(ContentAssistant.java:1858)
	at org.eclipse.jface.text.contentassist.ContentAssistSubjectControlAdapter.computeContextInformation(ContentAssistSubjectControlAdapter.java:390)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.computeContextInformation(ContextInformationPopup.java:394)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.access$1(ContextInformationPopup.java:393)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup$1.run(ContextInformationPopup.java:191)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.text.contentassist.ContextInformationPopup.showContextProposals(ContextInformationPopup.java:186)
	at org.eclipse.jface.text.contentassist.ContentAssistant.showContextInformation(ContentAssistant.java:1712)
	at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.doOperation(StructuredTextViewer.java:453)
	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:468)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:786)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:885)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:567)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:508)
	at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:123)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1253)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1103)
	at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1099)
	at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1808)
	at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4496)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:4191)
	at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4873)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2459)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3655)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	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:369)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
Comment 19 Nitin Dahyabhai CLA 2010-06-11 14:45:01 EDT
(In reply to comment #18)
> Look, the problem really persists. Here is two log files. The first happens
> inside web.xml and the second inside xhtml files. I hope this can help.
> 
> &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
> INSIDE WEB.XML FILE
> &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
> 
> !ENTRY org.eclipse.ui 4 4 2010-06-11 15:33:41.459
> !MESSAGE "Context Information" did not complete normally.  Please see the log
> for more information.
> 
> !ENTRY org.eclipse.ui 4 0 2010-06-11 15:33:41.459
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
>     at
> org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.getIteration(StructuredContentAssistProcessor.java:739)

The method listed here doesn't *exist* any more.
Comment 20 Flávio CLA 2010-06-11 14:56:25 EDT
Sorry, really sorry, I made a mistake umpacking the eclipse RC4 over RC3.