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 206226 - calling undoableEditHappened(null); on UndoRedo.Manager class throws npe (obvioulsy from the null arg). Anyway it didn't do this before this RC2 release and it was the correct way to do things in the past from what I read in other places.
Summary: calling undoableEditHappened(null); on UndoRedo.Manager class throws npe (obv...
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Text (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P4 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-10 22:28 UTC by mccorb
Modified: 2012-01-10 13:28 UTC (History)
1 user (show)

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 mccorb 2011-12-10 22:28:48 UTC
Product Version = NetBeans IDE 7.1 RC2 (Build 201111302200)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) 64-Bit Server VM 21.0-b17
Comment 1 Jaroslav Tulach 2011-12-12 09:38:51 UTC
Passing null to methods that don't explicitly declare they accept null is forbidden in the NetBeans APIs. I am passing to Míla, as he played with this area recently, but I will be OK with closing as won'tfix as well.