Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » 'Updating JSP Index' has encountered a problem.
'Updating JSP Index' has encountered a problem. [message #534036] Mon, 17 May 2010 15:15 Go to next message
Hemant Singh is currently offline Hemant Singh
Messages: 24
Registered: January 2010
Junior Member
Hello,

Everytime, I modify something in Java code and save it, I am getting the error dialog which says

'Updating JSP Index' has encountered a problem.
An internal error occurred during: "Updating JSP Index".


Is there anyway, I can disable JSP Index? As I am not using JSP files at the moment.

More details on my environment


Eclipse version: 3.5.1
eclipse.buildId=M20090917-0800
java.version=1.6.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

WST version(Jar file in which ModelHandlerRegistry is present): org.eclipse.wst.sse.core_1.1.401.v200909172215.jar

Exception trace:
java.lang.NoSuchMethodError: org.eclipse.wst.sse.core.internal.modelhandler.ModelHandlerR egistry.getHandlerFor(Lorg/eclipse/core/resources/IFile;Z)Lo rg/eclipse/wst/sse/core/internal/ltk/modelhandler/IModelHand ler;
at org.eclipse.jst.jsp.core.internal.java.XMLJSPRegionHelper.pa rse(XMLJSPRegionHelper.java:139)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslator.handleI ncludeFile(JSPTranslator.java:2067)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslator.transla teDirective(JSPTranslator.java:1790)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslator.transla teJSPNode(JSPTranslator.java:1538)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslator.transla teRegionContainer(JSPTranslator.java:1183)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslator.transla te(JSPTranslator.java:985)
at org.eclipse.jst.jsp.core.internal.java.JSPTranslationAdapter .getJSPTranslation(JSPTranslationAdapter.java:127)
at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocum ent.getJSPTranslation(JSPSearchDocument.java:120)
at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocum ent.getPath(JSPSearchDocument.java:159)
at org.eclipse.jst.jsp.core.internal.java.search.JavaSearchDocu mentDelegate. <init>(JavaSearchDocumentDelegate.java:30)
at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSuppo rt.createSearchDocument(JSPSearchSupport.java:385)
at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSuppo rt.addJspFile(JSPSearchSupport.java:279)
at org.eclipse.jst.jsp.core.internal.java.search.JSPIndexManage r$ProcessFilesJob.run(JSPIndexManager.java:267)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: 'Updating JSP Index' has encountered a problem. [message #534196 is a reply to message #534036] Tue, 18 May 2010 06:44 Go to previous message
Sarika Sinha is currently offline Sarika Sinha
Messages: 45
Registered: February 2010
Location: Bangalore, India
Member
Hi,
Seeing the trace it appears that you have a later version of org.eclipse.jst.jsp.core jar as compared to the org.eclipse.wst.sse..core jar.

As I can see in the code that a new method was added later the sse core jar date: org.eclipse.wst.sse.core.internal.modelhandler.ModelHandlerR egistry.getHandlerFor(IFile, boolean)


Sarika Sinha
JDT Programmer
Previous Topic:Almost completed WTP Tutorials - Building and Running a Web Application
Next Topic:JiBX Unmarshalling - No enum Const error
Goto Forum:
  


Current Time: Fri Jul 25 18:24:38 EDT 2014

Powered by FUDForum. Page generated in 0.03417 seconds