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 237634 - 7.4 does not launch on OSX Mavericks when monitor is mirrored
Summary: 7.4 does not launch on OSX Mavericks when monitor is mirrored
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 19:34 UTC by stevefyfe
Modified: 2013-10-30 15:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file showing NPE at startup (9.37 KB, application/octet-stream)
2013-10-24 19:34 UTC, stevefyfe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stevefyfe 2013-10-24 19:34:17 UTC
Created attachment 141537 [details]
Log file showing NPE at startup

On OSX 10.9 Mavericks, if the main monitor is mirrored to another monitor then Netbeans 7.4 reports a NullPointerException at startup while initializing AWT.

>Log Session: Thursday, October 24, 2013 2:44:27 PM EDT
>System Info: 
  Product Version    = NetBeans IDE 7.4 (Build 201310111528) (#6523d6792981)
  Operating System   = Mac OS X version 10.9 running on x86_64
  Java; VM; Vendor   = 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08; Oracle Corporation

To reproduce:
On a Mac with multiple monitors running 10.9, open System Preferences and click on Displays. On the Arrangement tab, check the Mirror Displays option. Launch Netbeans -- it will begin launching but stop before the splash screen appears. Log file attached.
Comment 1 stevefyfe 2013-10-24 19:50:29 UTC
After Netbeans fails to launch, uncheck the Mirror Displays option and try again. This time it launches.
Comment 2 key2thacity87 2013-10-25 12:59:13 UTC
I'm haveing the same problem but I've unchecked mirror displays and Netbeans does not launch still!

MacOSX 10.9
Netbeans 7.4
Java Version 7 update 45


I've disconnected the monitors and restarted and nothing still.

Tried reinstalling netbeans but there is an error after installation begins writing reading "The Installation Failed"

Netbeans Launch bar Icon jumps up one time and then stops and no windows appear as if it never started.
Comment 3 key2thacity87 2013-10-25 13:23:53 UTC
had to install jdk then reinstall netbeans
Comment 4 Stanislav Aubrecht 2013-10-29 11:54:07 UTC
Cannot reproduce in 
Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Mac OS X version 10.9 running on x86_64; UTF-8; en_US (nb)

Reporter, what resolution is your external display?
Comment 5 stevefyfe 2013-10-29 13:10:18 UTC
This describes my hardware, but in this configuration only the two smaller monitors are mirrored. The failure only happens when the iMac monitor is mirrored to at least one other.

When the failure happens, the main monitor is mirrored to the middle monitor. So the total desktop size is the iMac screen and the HP screen combined.

AMD Radeon HD 6770M:
  Chipset Model:	AMD Radeon HD 6770M
  Type:	GPU
  Bus:	PCIe
  PCIe Lane Width:	x16
  VRAM (Total):	512 MB
  Vendor:	ATI (0x1002)
  Device ID:	0x6740
  Revision ID:	0x0000
  ROM Revision:	113-C0170F-175
  EFI Driver Version:	01.00.560
  Displays:
iMac:
  Display Type:	LCD
  Resolution:	2560 x 1440
  Pixel Depth:	32-Bit Color (ARGB8888)
  Main Display:	Yes
  Mirror:	Off
  Online:	Yes
  Built-In:	Yes
  Connection Type:	DisplayPort
VA2431 Series:
  Resolution:	1680 x 1050 @ 60 Hz
  Pixel Depth:	32-Bit Color (ARGB8888)
  Display Serial Number:	RPX123140014
  Mirror:	On
  Mirror Status:	Master Mirror
  Online:	Yes
  Rotation:	Supported
HP LP2275w:
  Resolution:	1680 x 1050 @ 60 Hz
  Pixel Depth:	32-Bit Color (ARGB8888)
  Display Serial Number:	CNC9110WKS  
  Mirror:	On
  Mirror Status:	Hardware Mirror
  Online:	Yes
  Rotation:	Supported
Comment 6 stevefyfe 2013-10-29 13:14:52 UTC
After further testing I have reproduced this problem without Netbeans, so I am confident it is a problem in the JVM. I reported the problem to Oracle and got a response back saying the bug would be entered into their database with Bug Id: 9007699.