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 256104 - IDE UI fixes when sharing the screen
Summary: IDE UI fixes when sharing the screen
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 8.1
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-22 13:27 UTC by stwr
Modified: 2017-07-25 17:05 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
00-start-sharing-numbers-gone (164.65 KB, image/png)
2015-10-22 13:28 UTC, stwr
Details
01-try-to-scroll (158.08 KB, image/png)
2015-10-22 13:28 UTC, stwr
Details
02-click (167.86 KB, image/png)
2015-10-22 13:28 UTC, stwr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-10-22 13:27:34 UTC
Product Version = NetBeans IDE 8.1 RC2 (Build 201510122201)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_60-ea
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.60-b23

Reproducibility: Happens sometimes, but not always

First off all the issue does not occur each time when sharing the screen. But once it does the best idea is to finish the sharing and restart the IDE.
I am using WebEx Meeting Center. What happens when starting the screen sharing:

1. Line numbers are gone (see the '00-start-sharing-numbers-gone' picture)
2. NPE is being thrown when trying to scroll inside the editor (see the '01-try-to-scroll' picture)
2a. In the same time these magic empty areas appear in the Projects view (see the '01-try-to-scroll' picture)
3. Each click on the Error Notification balloon increases these magic empty areas (see the '02-click' picture)

Exception thrown is:

java.lang.NullPointerException
	at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.mouseWheelMoved(BasicScrollPaneUI.java:866)
	at java.awt.AWTEventMulticaster.mouseWheelMoved(AWTEventMulticaster.java:532)
	at java.awt.Component.processMouseWheelEvent(Component.java:6623)
	at java.awt.Component.processEvent(Component.java:6307)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4891)
	at java.awt.Container.dispatchEventToSelf(Container.java:2318)
	at java.awt.Component.dispatchMouseWheelToAncestor(Component.java:5044)
	at java.awt.Component.dispatchEventImpl(Component.java:4778)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4554)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2750)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Comment 1 stwr 2015-10-22 13:28:11 UTC
Created attachment 156903 [details]
00-start-sharing-numbers-gone
Comment 2 stwr 2015-10-22 13:28:17 UTC
Created attachment 156904 [details]
01-try-to-scroll
Comment 3 stwr 2015-10-22 13:28:25 UTC
Created attachment 156905 [details]
02-click
Comment 4 stwr 2015-10-22 13:37:43 UTC
Product Version: NetBeans IDE 8.1 RC2 (Build 201510122201)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 5 Jiri Kovalsky 2015-10-22 16:48:52 UTC
Marek, do you really mean that this worked fine in 8.0 for instance?
Comment 6 stwr 2015-10-22 18:43:16 UTC
I did not experience such behavior in my 8.0.2 instance. It runs under the JDK 1.8.0_31. Do we have here some JDK issue?
Comment 7 MackSix 2015-10-22 19:12:54 UTC
(In reply to stwr from comment #6)
> I did not experience such behavior in my 8.0.2 instance. It runs under the
> JDK 1.8.0_31. Do we have here some JDK issue?

You are not running an early access release of jdk1.8.0_60 and not the final release. Your runtime environment is not the same build as the final release.
Comment 8 stwr 2015-10-22 19:38:20 UTC
(In reply to MackSix from comment #7)
> (In reply to stwr from comment #6)
> > I did not experience such behavior in my 8.0.2 instance. It runs under the
> > JDK 1.8.0_31. Do we have here some JDK issue?
> 
> You are not running an early access release of jdk1.8.0_60 and not the final
> release. Your runtime environment is not the same build as the final release.

Sorry I did not get your point at all. I was saying about two different instances so far. Each runs against different JDK release.
Comment 9 Jiri Kovalsky 2015-10-22 19:52:39 UTC
Let's wait for Tonda's evaluation.
Comment 10 ibeaumont 2017-05-30 14:11:44 UTC
This bug has been around for years (a long time before version 8).  It is very annoying though and really wish it was fixed.  Not seen any other application have such strange issues when using Webex.
I think I can say it goes wrong every time for me.