Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JavaScript Model Exception: Java Model Status
JavaScript Model Exception: Java Model Status [message #226797] Fri, 16 January 2009 10:21 Go to next message
Eclipse UserFriend
When I hold the ctrl key and move the mouse over the text of my facelet
xhtml, I'm getting continuous stream of JavaScript Model Exceptions (see
example below).

The [cisweb does not exist] is a bit confusing. 'cisweb' is the project
name, and it does exist, so perhaps this refers to something else.

Is it possible I'm missing a plugin, or something?

Thanks
Michael



null
Error
Fri Jan 16 08:17:02 GMT-07:00 2009
cisweb does not exist

JavaScript Model Exception: Java Model Status [cisweb does not exist]
at
org.eclipse.wst.jsdt.internal.core.JavaElement.newNotPresent Exception(JavaElement.java:518)
at
org.eclipse.wst.jsdt.internal.core.JavaModelManager.getPerPr ojectInfoCheckExistence(JavaModelManager.java:1879)
at
org.eclipse.wst.jsdt.internal.core.JavaProject.getPerProject Info(JavaProject.java:1872)
at
org.eclipse.wst.jsdt.internal.core.search.JavaSearchScope.ad d(JavaSearchScope.java:120)
at
org.eclipse.wst.jsdt.internal.core.search.JavaSearchScope.ad d(JavaSearchScope.java:97)
at
org.eclipse.wst.jsdt.internal.core.DocumentContextFragmentRo ot.newSearchableNameEnvironment(DocumentContextFragmentRoot. java:550)
at
org.eclipse.wst.jsdt.internal.core.JavaElement.newSearchable NameEnvironment(JavaElement.java:872)
at
org.eclipse.wst.jsdt.internal.core.JavaElement.newSearchable NameEnvironment(JavaElement.java:872)
at
org.eclipse.wst.jsdt.internal.core.CompilationUnit.newSearch ableNameEnvironment(CompilationUnit.java:1412)
at
org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Opena ble.java:153)
at
org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelec t(CompilationUnit.java:319)
at
org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getEl ementsFromJsRange(JsTranslation.java:298)
at
org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlink Detector.detectHyperlinks(JSDTHyperlinkDetector.java:167)
at
org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$Hyperlin kDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry .java:80)
at
org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperl inks(HyperlinkManager.java:265)
at
org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove( HyperlinkManager.java:466)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:199)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
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(EclipseS tarter.java:386)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Re: JavaScript Model Exception: Java Model Status [message #226913 is a reply to message #226797] Wed, 21 January 2009 05:29 Go to previous message
Eclipse UserFriend
Michael Giroux wrote:
> When I hold the ctrl key and move the mouse over the text of my facelet
> xhtml, I'm getting continuous stream of JavaScript Model Exceptions (see
> example below).
>
> The [cisweb does not exist] is a bit confusing. 'cisweb' is the project
> name, and it does exist, so perhaps this refers to something else.
>
> Is it possible I'm missing a plugin, or something?

No, it's actually indicating that the project, 'cisweb', isn't a
"JavaScript project" or one that has those abilities added to it
(such as a Dynamic Web Project). Specifically it's complaining that
the project isn't part of the indexing model that's used to drive
content assist and validation across multiple JavaScript files
across multiple projects. The message itself is essentially
harmless, but this is a very common case that we hope to improve the
handling of in the future.

---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
Previous Topic:No grammar constraints(DTD or XML schema) detected for the document
Next Topic:jsNature causing problem markers
Goto Forum:
  


Current Time: Wed Jul 23 15:44:09 EDT 2025

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

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

Back to the top