Bug 139903 - [junit] NPE while running JUnit4 testcases
Summary: [junit] NPE while running JUnit4 testcases
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-05-03 05:48 EDT by Tobias Widmer CLA
Modified: 2009-08-30 02:07 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Widmer CLA 2006-05-03 05:48:23 EDT
3.2 RC2

Steps to reproduce:
- Checkout JUnit 4.1 from sf.net
- Select package org.junit.tests

-> Run As->JUnit Test

java.lang.NullPointerException
	at org.junit.runner.Runner.testCount(Runner.java:32)
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassReference.countTestCases(JUnit4TestClassReference.java:29)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.countTests(RemoteTestRunner.java:477)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:445)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:670)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
Comment 1 Tobias Widmer CLA 2006-05-03 08:17:48 EDT
Should be fixed for 3.2
Comment 2 Markus Keller CLA 2006-05-03 09:28:22 EDT
Tobias, can you please have a look? Sounds like a problem in JUnit.
Comment 3 Dani Megert CLA 2006-05-03 11:51:24 EDT
Marking as RC3 candidate this needs to be tracked either on our or the JUnit side.
Comment 4 Tobias Widmer CLA 2006-05-04 05:06:33 EDT
This is a JUnit bug and happens only while running the JUnit 4.1 tests.

See http://sourceforge.net/tracker/index.php?func=detail&aid=1481700&group_id=15278&atid=115278 for details
Comment 5 Denis Roy CLA 2009-08-30 02:07:50 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.