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 185338 - org.netbeans.modules.jmx.test.jconsole.J2SEProject.testRunWithJConsole test fails
Summary: org.netbeans.modules.jmx.test.jconsole.J2SEProject.testRunWithJConsole test f...
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: JMX (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 08:19 UTC by Tomas Hurka
Modified: 2010-05-05 04:56 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 Tomas Hurka 2010-05-03 08:19:11 UTC
org.netbeans.modules.jmx.test.jconsole.J2SEProject.testRunWithJConsole test fails on WIndows with

Error Message

TMP DIR is not set, check env
Stacktrace

java.lang.IllegalArgumentException: TMP DIR is not set, check env
	at org.netbeans.modules.jmx.test.jconsole.J2SEProject.assertTmpDir(J2SEProject.java:219)
	at org.netbeans.modules.jmx.test.jconsole.J2SEProject.testRunWithJConsole(J2SEProject.java:102)
	at org.netbeans.jellytools.JellyTestCase.runTest(JellyTestCase.java:180)
	at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:92)
	at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:362)
	at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:291)
	at org.netbeans.junit.NbTestCase.runBare(NbTestCase.java:381)
	at org.netbeans.jellytools.JellyTestCase.runBare(JellyTestCase.java:147)
	at org.netbeans.junit.NbTestCase.run(NbTestCase.java:225)
	at org.netbeans.junit.NbModuleSuite$NbTestSuiteLogCheck.runTest(NbModuleSuite.java:1216)
	at org.netbeans.junit.NbModuleSuite$S.runInRuntimeContainer(NbModuleSuite.java:801)
	at org.netbeans.junit.NbModuleSuite$S.run(NbModuleSuite.java:573)
Comment 1 Tomas Hurka 2010-05-03 08:22:03 UTC
Fixed in profiler-main

changeset:   169610:ee1e7792cf4a
user:        Tomas Hurka <thurka@netbeans.org>
date:        Mon May 03 10:21:12 2010 +0200
summary:     bugfix #185338, use java.io.tmpdir system property to get tmp directory
Comment 2 Quality Engineering 2010-05-04 04:33:05 UTC
Integrated into 'main-golden', will be available in build *201005040200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log:
Comment 3 Quality Engineering 2010-05-05 04:56:13 UTC
Integrated into 'main-golden', will be available in build *201005050200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log: