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 90487

Summary: Creating JUnit Tests by right-clicking source package causes error
Product: java Reporter: myatt83 <myatt83>
Component: JUnitAssignee: junit-issues@java <junit-issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: Messages Log File

Description myatt83 2006-12-03 03:11:32 UTC
In NB 6.0 M5 release I go to the project window, expand the Source Packages 
node, and right-click on a package name. The package contains 1 java source 
file myfiel.java. The context menu appears after right-clicking the package 
name and I select Tools > Create JUnit Tests. The Create Tests window appears 
and I click the OK button. Error window appears with NullPointer. Content from 
messages.log file attached.
Comment 1 myatt83 2006-12-03 03:12:18 UTC
Created attachment 36441 [details]
Messages Log File
Comment 2 Marian Petras 2006-12-03 18:54:46 UTC
Functionality of generating test skeletons has been removed before merge of the
new Java API to the main source code base.

*** This issue has been marked as a duplicate of 89820 ***