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 189243 - NullPointerException at java.awt.Rectangle.contains
Summary: NullPointerException at java.awt.Rectangle.contains
Status: RESOLVED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-05 09:40 UTC by Alexandr Scherbatiy
Modified: 2010-08-05 12:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 171763


Attachments
stacktrace (1.82 KB, text/plain)
2010-08-05 09:40 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-08-05 09:40:34 UTC
Build: NetBeans IDE Dev (Build 201008050001)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows XP

Stacktrace: 
java.lang.NullPointerException
   at java.awt.Rectangle.contains(Rectangle.java:635)
   at org.netbeans.modules.javafx.composer.design.control.SceneMouseInputAdapter.getGesture(SceneMouseInputAdapter.java:238)
   at org.netbeans.modules.javafx.composer.design.control.SceneMouseInputAdapter.mouseDragged(SceneMouseInputAdapter.java:209)
   at java.awt.Component.processMouseMotionEvent(Component.java:6311)
   at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3285)
   at java.awt.Component.processEvent(Component.java:6032)
Comment 1 Alexandr Scherbatiy 2010-08-05 09:40:38 UTC
Created attachment 101227 [details]
stacktrace
Comment 2 Alexandr Scherbatiy 2010-08-05 09:54:28 UTC
Product Version         = NetBeans IDE Dev (Build 201008050001) (#aa0e5782470f)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun
Microsystems Inc.


Steps to reproduce:
- create a new JavaFX desktop business application
- drop a button on canvas

Sometimes when I click on the button the exception pops up.