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 236305 - VerifyError: Bad type on operand stack Exception Details: Location: jdk/nashorn/internal/scripts/Script$engine.runScript(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;)Ljava/lan
Summary: VerifyError: Bad type on operand stack Exception Details: Location: jdk...
Status: RESOLVED DUPLICATE of bug 236704
Alias: None
Product: platform
Classification: Unclassified
Component: Proxy (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: JDK_8
Depends on:
Blocks:
 
Reported: 2013-09-24 08:06 UTC by Vladimir Riha
Modified: 2013-11-07 13:07 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204097


Attachments
stacktrace (5.44 KB, text/plain)
2013-09-24 08:06 UTC, Vladimir Riha
Details
stacktrace (5.44 KB, text/plain)
2013-09-25 13:54 UTC, Vladimir Riha
Details
stacktrace (5.44 KB, text/plain)
2013-11-04 12:44 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-09-24 08:06:39 UTC
Build: NetBeans IDE Dev (Build web-main-11619-on-20130917)
VM: Java HotSpot(TM) Client VM, 25.0-b50, Java(TM) SE Runtime Environment, 1.8.0-ea-b108
OS: Linux

User Comments:
vriha: Happened on IDE startup with fresh user dir




Stacktrace: 
java.lang.VerifyError: Bad type on operand stack
Exception Details:
  Location:
    jdk/nashorn/internal/scripts/Script$engine.runScript(Ljdk/nashorn/internal/runtime/ScriptFunction;Ljava/lang/Object;)Ljava/lang/Object; @17: invokestatic
  Reason:
    Type 'jdk/nashorn/internal/scripts/JO1P0' (current frame, stack[0]) is not assignable to 'jdk/nashorn/internal/runtime/ScriptObject'
  Current Frame:
    bci: @17
    flags: { }
    locals: { 'jdk/nashorn/internal/runtime/ScriptFunction', 'java/lang/Object', 'jdk/nashorn/internal/runtime/ScriptObject' }
    stack: { 'jdk/nashorn/internal/scripts/JO1P0' }
  Bytecode:
    0000000: 2ab6 0018 4dbb 001a 5903 b800 1e2c b700
    0000010: 21b8 0027 4d2c bb00 a559 b200 a704 32c0
    0000020: 00a9 2cb7 00ac ba00 b000 002c ba00 b300
    0000030: 004e 2cba 00b6 0000 59ba 00b9 0000 5f2b
    0000040: 12bb bb00 bd59 05b8 001e b700 c059 04b8
    0000050: 00c6 b500 c959 03b8 00c6 b500 cc59 04b8
    0000060: 00c6 b500 cf59 bb00 a559 b200 a706 32c0
    0000070: 00a9 2cb7 00ac b500
   at java.lang.Class.getDeclaredFields0(Class.java:0)
   at java.lang.Class.privateGetDeclaredFields(Class.java:2528)
   at java.lang.Class.getDeclaredField(Class.java:2022)
   at jdk.nashorn.internal.codegen.Compiler$2.run(Compiler.java:417)
   at jdk.nashorn.internal.codegen.Compiler$2.run(Compiler.java:413)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
Comment 1 Vladimir Riha 2013-09-24 08:06:41 UTC
Created attachment 140403 [details]
stacktrace
Comment 2 Vladimir Riha 2013-09-25 13:54:19 UTC
Happens to me on each IDE start with JDK8 => P2
Comment 3 Vladimir Riha 2013-09-25 13:54:42 UTC
Created attachment 140470 [details]
stacktrace

running IDE with fresh user dir on JDK8
Comment 4 kahatlen 2013-10-17 07:27:27 UTC
This happens for me too on JDK 8 when NetBeans is set up to use the system's proxy settings, and the system's (Gnome 3) proxy setting is "automatic". The problem goes away if I set the proxy server manually in NetBeans.
Comment 5 Libor Fischmeistr 2013-10-17 07:32:41 UTC
(In reply to kahatlen from comment #4)
> This happens for me too on JDK 8 when NetBeans is set up to use the system's
> proxy settings, and the system's (Gnome 3) proxy setting is "automatic". The
> problem goes away if I set the proxy server manually in NetBeans.

That's right. It's because the auto mod uses PAC file to solve proxy and the PAC is written in JavaScript. This problem occurs when trying to process JS and is related to JDK 8.
Comment 6 Jiri Skrivanek 2013-11-04 12:44:25 UTC
Created attachment 141824 [details]
stacktrace

Started IDE with JDK8.
Comment 7 Libor Fischmeistr 2013-11-07 13:07:33 UTC

*** This bug has been marked as a duplicate of bug 236704 ***