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 174262 - AssertionError at org.netbeans.modules.junit.DefaultPlugin.createTestClass
Summary: AssertionError at org.netbeans.modules.junit.DefaultPlugin.createTestClass
Status: RESOLVED DUPLICATE of bug 176958
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Victor Vasilyev
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-10 00:00 UTC by adam_myatt
Modified: 2010-03-26 17:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 104086


Attachments
stacktrace (7.39 KB, text/plain)
2009-10-10 00:00 UTC, adam_myatt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adam_myatt 2009-10-10 00:00:05 UTC
Build: NetBeans IDE 6.8 M2 (Build 200910071658)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments:
mdeggersbeans: I was attempting to create a JUnit test suite so I wouldn't have to perform set up and tear down operations for each test.  I did the following:

Right mouse clicked on the package
Selected New-->Other
Selected JUnit
Selected Test Suite
Named the test suite and left all checkboxes selected

I have not tried this in Netbeans 6.1

adam_myatt: Creating a junit test suite using new file wizard

GUEST: I created a test class for my rxisting class.
Then I created an empty test class and did nothing furder
Then I created a test suite.

GUEST: add junit test suit



Stacktrace: 
java.lang.AssertionError
        at org.netbeans.modules.junit.DefaultPlugin.createTestClass(DefaultPlugin.java:2025)
        at org.netbeans.modules.junit.DefaultPlugin.createSuiteTest(DefaultPlugin.java:1890)
        at org.netbeans.modules.junit.DefaultPlugin.createSuiteTest(DefaultPlugin.java:2001)
        at org.netbeans.modules.junit.wizards.TestSuiteWizardIterator.instantiate(TestSuiteWizardIterator.java:303)
        at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588)
        at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:409)
Comment 1 adam_myatt 2009-10-10 00:00:12 UTC
Created attachment 89234 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-10-10 00:00:17 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=104086
Comment 3 Victor Vasilyev 2009-11-11 17:59:29 UTC
I can't reproduce this error. Additional investigation is required.
Comment 4 Victor Vasilyev 2010-03-26 17:49:59 UTC

*** This bug has been marked as a duplicate of bug 176958 ***