This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229227 - NoSuchMethodError: org.netbeans.modules.javascript2.editor.spi.model.ModelElementFactory.loadGlobalObject(Ljava/io/InputStream;)Lorg/netbeans/modules/javascript2/editor/model/JsObject;
Summary: NoSuchMethodError: org.netbeans.modules.javascript2.editor.spi.model.ModelEle...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 14:55 UTC by mps77
Modified: 2013-07-17 19:45 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200294


Attachments
stacktrace (7.09 KB, text/plain)
2013-04-30 14:55 UTC, mps77
Details
stacktrace (3.94 KB, text/plain)
2013-05-02 13:04 UTC, mps77
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mps77 2013-04-30 14:55:48 UTC
Build: NetBeans IDE Dev (Build 201304232301)
VM: Java HotSpot(TM) Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows XP

User Comments:
mps77: jsedior

adam_felix_fps: Same as before clicking through to a javascript file for the first time after loading the ide

adam_felix_fps: Was just reopening a javascript file

adam_felix_fps: Opening JavaScript file after initial opening

mps77: click js/html content editor

adam_felix_fps: On startup when switching to a javascript file.  Looks to be related to knockout.js but I am not using this.  It is a plain javascript file with some jQuery.




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.javascript2.editor.spi.model.ModelElementFactory.loadGlobalObject(Ljava/io/InputStream;)Lorg/netbeans/modules/javascript2/editor/model/JsObject;
   at org.netbeans.modules.javascript2.knockout.model.KnockoutModelInterceptor.interceptGlobal(KnockoutModelInterceptor.java:75)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelExtender.getExtendingGlobalObjects(ModelExtender.java:110)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveTypeFromExpression(ModelUtils.java:540)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveTypes(ModelUtils.java:762)
   at org.netbeans.modules.javascript2.editor.JsStructureScanner$JsSimpleStructureItem.getHtml(JsStructureScanner.java:534)
   at org.netbeans.modules.csl.navigation.ElementNode.getHtmlDisplayName(ElementNode.java:144)
Comment 1 mps77 2013-04-30 14:55:50 UTC
Created attachment 133985 [details]
stacktrace
Comment 2 mps77 2013-05-02 13:04:42 UTC
Created attachment 134037 [details]
stacktrace

load .js file.
Comment 3 Petr Hejl 2013-07-17 19:45:41 UTC
This is dev build only - method has been changed.