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.
Automatic test hangs in javamixed suite. Prepare JNI projects: - Launch NetBeans Dev 201609050002 on Ubuntu 16.04 - Create Java project - Add simple JNI code. For example: package javaapplication2; public class JavaApplication2 { public static void main(String[] args) { System.loadLibrary("CppJNILibrary_2"); foo(); } public static native void foo(); } - Build Java project - Call context menu on Java file in Project tab - Select Tools|Mixed Development|Generate JNI Library Project - Press Finish button in New Project wizard - Add "puts("Hi!");" into JavaApplication2.c - Build native library - Lainch Java project ==> I see "Hi" message in Output tab Scenario: - Set line breakpoint in "foo();" line in JavaApplication2.java - Push "Debug Project" button in tool bar - Push "Step Into" button in tool bar ==> after small delay Dbx stopped on "puts("Hi!");" line - Open Sessions tab - Call context menu on "javaapplication2.JavaApplication2" row - Select "Make Current" ==> IDE hangs
Created attachment 161914 [details] Stack Dump
Originally I created CR24594030, but I can reproduce this problem on Ubuntu+GDB too.
*** This bug has been marked as a duplicate of bug 268802 ***