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 201067 - DDDataObject.getActiveMVElement() returns null
Summary: DDDataObject.getActiveMVElement() returns null
Status: VERIFIED INVALID
Alias: None
Product: javaee
Classification: Unclassified
Component: DD Editor (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2011-08-18 08:54 UTC by Jiri Skrivanek
Modified: 2011-08-18 09:24 UTC (History)
0 users

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 Jiri Skrivanek 2011-08-18 08:54:14 UTC
Similar to bug 200954. In tests we use DDDataObject.getActiveMVElement() but it now returns null. To reproduce:

- open j2ee.kit\test\qa-functional\src\org\netbeans\test\j2ee\multiview\WebProjectDDTest.java in NetBeans
- run the test (Ctrl+F6)
- you can debug it (Ctrl+Shift+F5). See line 188.

Product Version: NetBeans IDE Dev (Build 201108170601)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)
Comment 1 Jiri Skrivanek 2011-08-18 09:24:16 UTC
I am sorry. It works. Just the test had to be rewritten to reflect added history tab.