Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » NoSuchMethodError with Eclipse 3.1.1 and WTP 0.7.1
NoSuchMethodError with Eclipse 3.1.1 and WTP 0.7.1 [message #143979] Sat, 15 October 2005 07:14 Go to next message
Eclipse UserFriend
Hi,

after updating from Eclipse 3.1/WTP 0.7 to Eclipse 3.1.1 and then to WTP
0.7.1 (using Eclipse's update manager), I cannot edit XML files that
reference schemas anymore because every couple of seconds a modal dialog
pops up that says

An internal error occurred during: "Loading referenced grammars".

Needless to say that this is really annoying.
In the log it says:

!ENTRY org.eclipse.core.runtime 4 2 2005-10-15 13:10:14.324
!MESSAGE An internal error occurred during: "Loading referenced grammars".
!STACK 0
java.lang.NoSuchMethodError:
org.eclipse.wst.common.uriresolver.internal.provisional.URIR esolver.resolvePhysicalLocation(Ljava/lang/String;Ljava/lang /String;Ljava/lang/String;)Ljava/lang/String;
at
org.eclipse.wst.xml.core.internal.modelquery.XMLModelQueryAs sociationProvider.resolveGrammarURI(XMLModelQueryAssociation Provider.java:50)
at
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimp l.XMLAssociationProvider.resolveGrammarURI(XMLAssociationPro vider.java:160)
at
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimp l.CMDocumentManagerImpl.lookupOrCreateResolvedURI(CMDocument ManagerImpl.java:113)
at
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimp l.CMDocumentManagerImpl.addCMDocumentReference(CMDocumentMan agerImpl.java:186)
at
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimp l.CMDocumentLoader.handleGrammar(CMDocumentLoader.java:105)
at
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimp l.CMDocumentLoader$CMDocumentLoadingNamespaceTable.addElemen t(CMDocumentLoader.java:180)
at
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimp l.CMDocumentLoader.loadCMDocuments(CMDocumentLoader.java:74)
at
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimp l.InferredGrammarBuildingCMDocumentLoader.loadCMDocuments(In ferredGrammarBuildingCMDocumentLoader.java:56)
at
org.eclipse.wst.xml.ui.internal.DOMObserver.invokeCMDocument Load(DOMObserver.java:177)
at
org.eclipse.wst.xml.ui.internal.DOMObserver$TimerJob.run(DOM Observer.java:139)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


Interestingly, when I look into Help->About Eclipse SDK->Plug-in details,
I see a mixture of versions 0.7.0 and 0.7.1 (and even some 1.0.0) for the
various org.eclipse.wst plugin ids. I guess that's ok ?
Perhaps there is at least some way to turn the loading of the grammars off
?

Tom
Re: NoSuchMethodError with Eclipse 3.1.1 and WTP 0.7.1 [message #143997 is a reply to message #143979] Sat, 15 October 2005 14:59 Go to previous message
Eclipse UserFriend
On Sat, 15 Oct 2005 07:14:57 -0400, Thomas Dudziak <tomdzk@gmail.com> wrote:

> Interestingly, when I look into Help->About Eclipse SDK->Plug-in details, I see a mixture of versions 0.7.0 and
> 0.7.1 (and even some 1.0.0) for the various org.eclipse.wst plugin ids. I guess that's ok ?
> Perhaps there is at least some way to turn the loading of the grammars off ?
>

I believe you've hinted at the problem here. We did have a bug open on this, and that
person did find it did not happen with a "complete fresh install".

I think the "1.0.0" versions are actually very old ... such as milestone 3, before we "switched" to use
the 0.7.0 version scheme. But .. since "1" is "greater than" "0" ... Eclipse is "finding" and using the 1.0 versions
in some cases.

I'd recommend a freshin install of 0.7.1 versions (and pre-reqs).
[If you're adventurous, I supposed you could try to surgically remove wtp plugins
that say they are for version 1.0 ... being sure to restart with -clean].
Previous Topic:WebSphere 6.0.2.1 & WTP 0.7 & Eclipse 3.1
Next Topic:M5: problem with datasources
Goto Forum:
  


Current Time: Wed May 07 04:21:52 EDT 2025

Powered by FUDForum. Page generated in 0.25022 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top