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 236389 - NoSuchMethodError: org.netbeans.modules.javascript2.editor.spi.model.ModelElementFactory.loadGlobalObject(Ljava/io/InputStream;Ljava/lang/String;)Lorg/netbeans/modules/javascript2/editor/model/JsObjec
Summary: NoSuchMethodError: org.netbeans.modules.javascript2.editor.spi.model.ModelEle...
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: issues@javascript
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-25 22:57 UTC by steve.clason
Modified: 2014-02-14 07:13 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204158


Attachments
stacktrace (2.86 KB, text/plain)
2013-09-25 22:57 UTC, steve.clason
Details
stacktrace (3.43 KB, text/plain)
2013-09-30 01:33 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description steve.clason 2013-09-25 22:57:55 UTC
This bug was originally marked as duplicate of bug 229227, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build nbms-and-javadoc-522-on-20130919)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 7

User Comments:
steve.clason: Starting up after installing updates.




Stacktrace: 
java.lang.NoSuchMethodError: org.netbeans.modules.javascript2.editor.spi.model.ModelElementFactory.loadGlobalObject(Ljava/io/InputStream;Ljava/lang/String;)Lorg/netbeans/modules/javascript2/editor/model/JsObject;
   at org.netbeans.modules.javascript2.knockout.model.KnockoutModelInterceptor.interceptGlobal(KnockoutModelInterceptor.java:77)
   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:736)
   at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveTypes(ModelUtils.java:1020)
   at org.netbeans.modules.javascript2.editor.JsStructureScanner$JsSimpleStructureItem.<init>(JsStructureScanner.java:558)
   at org.netbeans.modules.javascript2.editor.JsStructureScanner.getEmbededItems(JsStructureScanner.java:141)
Comment 1 steve.clason 2013-09-25 22:57:57 UTC
Created attachment 140487 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-09-29 15:36:49 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204158
Comment 3 Exceptions Reporter 2013-09-30 01:33:51 UTC
Created attachment 140628 [details]
stacktrace

Opened PHP file with embedded js.
Comment 4 Martin Fousek 2014-02-14 07:13:30 UTC
This happened due to update of the daily build. If you are still seeing this error, please reinstall your IDE with the newer build from here:
http://bits.netbeans.org/download/trunk/nightly/latest/

Closing as worksforme since the call within KnockoutModelInterceptor.interceptGlobal uses correct method signature now.