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 188031 - ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv()
Summary: ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv()
Status: RESOLVED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Michal Skvor
URL:
Keywords:
Depends on:
Blocks: 173187
  Show dependency tree
 
Reported: 2010-06-24 08:37 UTC by Alexandr Scherbatiy
Modified: 2011-05-16 13:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-06-24 08:37:52 UTC
JavaFX Composer FXJDI: #31

  Product Version         = NetBeans IDE Dev (Build 201006240001) (#712bfb992ed0)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc.


Steps to reproduce:
- Type in the editor:
--------------------------------
var s = ["1", "2" ];
var i = 3;
--------------------------------
- Set  breakpoints for the 's' and 'i' variables
- Start project debugging 
- Press Continue (F5) several times

init:
deps-jar:
compile:
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183):  [../../../src/share/back/util.c:820]
debug:
Comment 1 Michal Skvor 2010-07-07 14:07:15 UTC
Fixed.
Comment 2 Alexandr Scherbatiy 2010-07-20 11:38:40 UTC
NetBeans IDE 6.9.1 Dev (Build 201007182301)

I see the same message in the output:

init:
deps-jar:
compile:
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183):  [../../../src/share/back/util.c:820]
debug:
BUILD SUCCESSFUL (total time: 22 seconds)
Comment 3 David Strupl 2011-05-16 13:52:46 UTC
Closing all bugs filed against JavaFX 1.x as wontfix. We will support JavaFX 2.0 - please keep opened only bugs against the new release. Thanks.