facebook

Internal error during Update JSP Index

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #213661 Reply

    Paul Kaiser
    Member

    I’m using Eclipse 3.0.0, ME 3.8.1 on Windows XP SP1.

    I worked on a j2ee1.4 project with Struts 1.1 capabilities added and closed the project. I re-opened the project a bit later and received an error

    An internal error occurred during: “Update JSP Index”

    Here is the stack trace from .log:

    !ENTRY org.eclipse.core.runtime 4 2 Aug 26, 2004 16:35:56.173
    !MESSAGE An internal error occurred during: “Update JSP Index”.
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.j2eedt.taglib.WebTaglibRegistry.getRefreshRoot(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.refresh(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.WebTaglibRegistry.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.createNewRegistry(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.getTaglibRegistry(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEProjectUtil.getTaglibURIStream(Unknown Source)
    at com.ibm.sse.model.util.ProjectResolver.getURIStream(Unknown Source)
    at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager.loadTaglib(Unknown Source)
    at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager.getCMDocument(Unknown Source)
    at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.enableTaglibFromURI(Unknown Source)
    at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(Unknown Source)
    at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processTaglib(Unknown Source)
    at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.nodeParsed(Unknown Source)
    at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.fireNodeParsed(Unknown Source)
    at com.ibm.sse.model.jsp.parser.JSPSourceParser.parseNodes(Unknown Source)
    at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.getDocumentRegions(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.setText(Unknown Source)
    at com.ibm.sse.model.internal.text.BasicStructuredDocument.set(Unknown Source)
    at com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.setDocument(Unknown Source)
    at com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.processPostModelEvent(Unknown Source)
    at com.ibm.sse.model.LifecycleNotificationManager.signalLifecycleEvent(Unknown Source)
    at com.ibm.sse.model.AbstractStructuredModel.signalLifecycleEvent(Unknown Source)
    at com.ibm.sse.model.AbstractStructuredModel.setStructuredDocument(Unknown Source)
    at com.ibm.sse.model.xml.internal.document.XMLModelImpl.setStructuredDocument(Unknown Source)
    at com.ibm.sse.model.AbstractModelLoader.load(Unknown Source)
    at com.ibm.sse.model.ModelManagerImpl._commonGetModel(Unknown Source)
    at com.ibm.sse.model.ModelManagerImpl._commonGetModel(Unknown Source)
    at com.ibm.sse.model.ModelManagerImpl.getModelForRead(Unknown Source)
    at com.ibm.sse.model.jsp.internal.java.search.JSPSearchDocument.createCompilationUnit(Unknown Source)
    at com.ibm.sse.model.jsp.internal.java.search.JSPSearchDocument.<init>(Unknown Source)
    at com.ibm.sse.model.jsp.internal.java.search.JSPSearchSupport.addJspFile(Unknown Source)
    at com.ibm.sse.model.jsp.internal.java.search.JSPIndexManager$2.visit(Unknown Source)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
    at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
    at com.ibm.sse.model.jsp.internal.java.search.JSPIndexManager$1.run(Unknown Source)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

    Why is this happening?
    Is this failure going to cause other problems down the road?

    Thanks,
    Paul

    #213675 Reply

    Scott Anderson
    Participant

    Paul,

    Thanks for reporting this. However, you’ll be glad to hear that this was fixed in the latest QuickFix that is available in the announcement thread at the top of this forum.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Internal error during Update JSP Index

You must be logged in to post in the forum log in