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 271914 - IllegalArgumentException: Window must not be zero
Summary: IllegalArgumentException: Window must not be zero
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Antonin Nebuzelsky
Depends on:
Reported: 2017-12-13 19:06 UTC by rkraneis
Modified: 2018-01-23 10:53 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 228746

stacktrace (2.82 KB, text/plain)
2017-12-13 19:06 UTC, rkraneis

Note You need to log in before you can comment on or make changes to this bug.
Description rkraneis 2017-12-13 19:06:48 UTC
Build: NetBeans IDE Dev (Build 201712130002)
VM: OpenJDK 64-Bit Server VM, 9-Ubuntu+0-9b181-4, OpenJDK Runtime Environment, 9-Ubuntu+0-9b181-4
OS: Linux

User Comments:
GUEST: I Just opeened the options window

GUEST: open params with dracula laf

GUEST: background scanning of projects

rkraneis: I run netbeans with jdk-9 (no matter if oracle jdk or ubuntu's openjdk) with a multi monitor setup. On the secondary monitor everything is fine, on the primary menus do not open.

GUEST: popups, menu fails on multiple screen displays (Ubuntu-XFCE)

GUEST: I can't get any work done!


GUEST: Trying to access Tools --> Options

GUEST: Even tring to log a bug is causeing errors

GUEST: just opening the Options window on linux x64 with xfce desktop.

java.lang.IllegalArgumentException: Window must not be zero
   at sun.awt.X11.XAtom.checkWindow(
   at sun.awt.X11.XAtom.getAtomData(
   at sun.awt.X11.XToolkit.getWorkArea(
   at sun.awt.X11.XToolkit.getInsets(
   at sun.awt.X11.XToolkit.getScreenInsets(
   at java.awt.Window.init(
Comment 1 rkraneis 2017-12-13 19:06:59 UTC
Created attachment 165560 [details]
Comment 2 rkraneis 2018-01-23 10:38:33 UTC
Could this be related to (closed) When searching the web for the error message, many projects seem to have this problem with JDK 9. In my case LanguaTool-4.0, too.
Comment 3 rkraneis 2018-01-23 10:46:45 UTC
Another addition: this happens only on one of three attached screens. Logical screens 1 and 2 work, screen 3 (which is my primary screen) does not work.
Comment 4 rkraneis 2018-01-23 10:53:20 UTC
Yet another addition: disabling screens 1 or 2 makes everything work on the remaining screens.