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 230874 - AbstractMethodError: org.netbeans.modules.javascript2.jquery.model.JQueryModel$JQFunction.getParentScope()Lorg/netbeans/modules/javascript2/editor/model/DeclarationScope;
Summary: AbstractMethodError: org.netbeans.modules.javascript2.jquery.model.JQueryMode...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-06 15:22 UTC by nabuage
Modified: 2013-07-19 07:55 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201126


Attachments
stacktrace (4.55 KB, text/plain)
2013-06-06 15:22 UTC, nabuage
Details
stacktrace (3.27 KB, text/plain)
2013-06-07 17:19 UTC, nabuage
Details
File that can reproduce the bug. (508 bytes, text/html)
2013-06-11 16:10 UTC, nabuage
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nabuage 2013-06-06 15:22:43 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-11087-on-20130606)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
adam_felix_fps: On opening a file

GUEST: <Please provide a description of the problem or the steps to reproduce>

gena01: Just came up when i tried to open a file to edit

nabuage: Created a HTML5 application with JQuery 1.9 library.  Then,  I updated my current NetBeans Dev build.  I restarted NetBeans after the update.  After the restart,  that's when I saw the error.

svanimpe: Opening "test-resbean.js"

mps77: Opening .inc file (php include file with javascript, html and php code) with dbl click from Project panel.




Stacktrace: 
java.lang.AbstractMethodError: org.netbeans.modules.javascript2.jquery.model.JQueryModel$JQFunction.getParentScope()Lorg/netbeans/modules/javascript2/editor/model/DeclarationScope;
   at org.netbeans.modules.javascript2.editor.spi.model.ModelElementFactory$GlobalFunction.<init>(ModelElementFactory.java:373)
   at org.netbeans.modules.javascript2.editor.spi.model.ModelElementFactory.putGlobalProperty(ModelElementFactory.java:128)
   at org.netbeans.modules.javascript2.jquery.model.JQueryModel.getGlobalObject(JQueryModel.java:91)
   at org.netbeans.modules.javascript2.jquery.model.JQueryModelInterceptor.interceptGlobal(JQueryModelInterceptor.java:59)
   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:570)
Comment 1 nabuage 2013-06-06 15:22:46 UTC
Created attachment 135457 [details]
stacktrace
Comment 2 nabuage 2013-06-07 17:19:29 UTC
Created attachment 135521 [details]
stacktrace

Typing Javascript code.
Comment 3 Petr Pisl 2013-06-11 07:37:24 UTC
I would like to aks, does someone have a file, where it is reproducible? It would help me a lot. Thanks.
Comment 4 Exceptions Reporter 2013-06-11 12:55:37 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=201126
Comment 5 nabuage 2013-06-11 16:10:07 UTC
Created attachment 135647 [details]
File that can reproduce the bug.

This bug only occurs when the IDE is freshly loaded and view the uploaded file inside the editor.  It used to happen when the IntelliSense is trigger by typing "$("body").". Note that I have this file in a HTML5 application.
Comment 6 Petr Hejl 2013-07-19 07:55:16 UTC
No report since June. I believe this is just incompatible change during dev cycle. Feel free to reopen.