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 255515 - Cannot take GUI snapshot of debugged application
Summary: Cannot take GUI snapshot of debugged application
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: JDK_9, NO81
Depends on: 255509
Blocks:
  Show dependency tree
 
Reported: 2015-09-23 13:39 UTC by Jiri Kovalsky
Modified: 2016-03-09 16:24 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 Jiri Kovalsky 2015-09-23 13:39:51 UTC
Product Version: NetBeans Dev JDK9 branch (Build 20150918-951c25ccfea0)
Java: 1.9.0-ea; Java HotSpot(TM) 64-Bit Server VM 1.9.0-ea-jigsaw-nightly-h3391-20150915-b81
Runtime: Java(TM) SE Runtime Environment 1.9.0-ea-jigsaw-nightly-h3391-20150915-b81
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev-jdk9-branch
Cache directory: /home/cesilko/.cache/netbeans/dev-jdk9-branch

Description:
============
With JDK 9 Jigsaw Java platform users can no longer take GUI snapshot of their applications during debugging sessions in Jigsaw compatible build of NetBeans IDE 9.0. Maybe this is somehow related to issue #252725 or issue #255509.

Steps to reproduce:
===================
1. Download and install JDK 9 Jigsaw build b81 [1] on your computer.
2. Launch NetBeans 9.0 build from JDK9 branch using that JDK 9 Jigsaw.
3. Invoke "File > New Project..." from main menu.
4. Select "Samples > Java" category, select "Anagram Game" project type, click "Next >" and then "Finish" buttons.
5. Press Ctrl+F5 keystroke to start debugging session.

Expected: When "Anagram Game" window is displayed you can invoke "Debug > Take GUI Snapshot" from main menu as it's enabled.
Actual: When "Anagram Game" window is displayed you cannot invoke "Debug > Take GUI Snapshot" from main menu as it's disabled.

[1] https://jdk9.java.net/jigsaw
Comment 1 Jiri Kovalsky 2015-09-23 13:42:50 UTC
This is not a NetBeans 8.1 specific issue.
Comment 2 Martin Entlicher 2015-09-25 17:45:59 UTC
We need to solve issue #255509 first.
Comment 3 Martin Entlicher 2016-03-09 16:24:36 UTC
It's fixed by the fix of issue #255509.