JDK-4376653 : Regression test BlockIsDirectory.java Failing
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.3.0,1.3.1,1.3.1_01
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2000-10-05
  • Updated: 2001-03-26
  • Resolved: 2001-03-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other
1.3.1 rc1Fixed 1.4.0Fixed
Related Reports
Relates :  
Description
Name: as83306			Date: 10/05/2000

Regression test java/io/File/BlockIsDirectory.java Failing
#Test Results (version 2)
#Wed Oct 04 16:54:01 GMT+00:00 2000
#checksum:10a4b7784457d48e
#-----testdescription-----
$file=/.automount/sqesvr/root/export/st1/regression/firefly/jdk13_01Tests/test/java/io/File/BlockIsDirectory.java
$root=/.automount/sqesvr/root/export/st1/regression/firefly/jdk13_01Tests/test
keywords=bug4113217
run=ASSUMED_ACTION main BlockIsDirectory\n
source=BlockIsDirectory.java
title=Test File.isDirectory on block device

#-----environment-----

#-----testresult-----
description=file:///.automount/sqesvr/root/export/st1/regression/firefly/jdk13_01Tests/test/java/io/File/BlockIsDirectory.ja
va
end=Wed Oct 04 16:54:01 GMT+00:00 2000
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
javatestOS=Linux 2.2.12-20smp (i386)
javatestVersion=JT_2.1.3i
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile main
start=Wed Oct 04 16:53:58 GMT+00:00 2000
status=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
test=java/io/File/BlockIsDirectory.java
work=/.automount/sqesvr/root/export/st1/regression/firefly/results/testsol2.2.12-20smp-harness122-testwithjdk130_01-10-04-16
.51-All/java/io/File

#section:script_messages
----------messages:(1/97)----------
JDK under test: java full version "1.3.0_01-beta" (/net/sqesvr/export/st1/jdk1.3.0_01/jdk-linux)

#section:build
----------messages:(3/101)----------
command: build BlockIsDirectory 
reason: Named class compiled on demand
elapsed time (seconds): 2.73
result: Passed. Compilation successful

#section:compile
----------messages:(3/206)----------
command: compile /.automount/sqesvr/root/export/st1/regression/firefly/jdk13_01Tests/test/java/io/File/BlockIsDirectory.java 
reason: .class file out of date or does not exist
elapsed time (seconds): 2.717
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:main
----------messages:(3/131)----------
command: main BlockIsDirectory
reason: Assumed action based on file name: run main BlockIsDirectory 
elapsed time (seconds): 0.791
----------System.out:(0/0)----------
----------System.err:(10/432)----------
java.lang.NullPointerException
	at BlockIsDirectory.main(BlockIsDirectory.java:19)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:484)

JavaTest Message: Test threw exception: java.lang.NullPointerException
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.NullPointerException
result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException


test result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException

======================================================================

al.smith@eng 2001-03-12

Regression test java/io/File/BlockIsDirectory.java Fails with Ladybird build 18

 For test hardware config's, see http://sqesvr.eng/st3/jdk1.4/docs/Merlin-hw.html/n#Test Results (version 2)
#Wed Feb 28 22:54:44 GMT+00:00 2001
#checksum:2226fa921d2bc172
#-----testdescription-----
$file=/.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18/java/io/File/BlockIsDirectory.java
$root=/.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18
keywords=bug4113217
run=ASSUMED_ACTION main BlockIsDirectory\n
source=BlockIsDirectory.java
title=Test File.isDirectory on block device

#-----environment-----

#-----testresult-----
description=file:///.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18/java/io/File/BlockIsDirectory.java
end=Wed Feb 28 22:54:44 GMT+00:00 2001
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
javatestOS=Linux 2.2.14-6.1.1 (i386)
javatestVersion=JT_2.1.3i
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile main
start=Wed Feb 28 22:54:42 GMT+00:00 2001
status=Failed. Execution failed: `main' threw exception: java.lang.NullPointerException
test=java/io/File/BlockIsDirectory.java
work=/export0/results/regression/ladybird/b18/seahund2.2.14-6.1.1-jth13-jdk131b18-02.28-22.19-ALL/java/io/File

#section:script_messages
----------messages:(1/99)----------
JDK under test: java full version "1.3.1-rc1-b18" (/net/sqesvr/export/st1/jdk1.3.1/b18/linux-i386)

#section:build
----------messages:(3/101)----------
command: build BlockIsDirectory 
reason: Named class compiled on demand
elapsed time (seconds): 2.04
result: Passed. Compilation successful

#section:compile
----------messages:(3/220)----------
command: compile /.automount/sqesvr/root/export/st1/regression/ladybird/jdk1.3.1Tests/current-tests/b18/java/io/File/BlockIsDirectory.java 
reason: .class file out of date or does not exist
elapsed time (seconds): 2.036
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful

#section:main
----------messages:(3/131)----------
command: main BlockIsDirectory
reason: Assumed action based on file name: run main BlockIsDirectory 
elapsed time (seconds): 0.665
----------System.out:(0/0)----------
----------System.err:(10/432)----------
java.lang.NullPointerException
	at BlockIsDirectory.main(BlockIsDirectory.java:19)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:484)

JavaTest Message: Test threw exception: java.lang.NullPointerException
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.NullPointerException
result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException


test result: Failed. Execution failed: `main' threw exception: java.lang.NullPointerException

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: generic merlin-beta FIXED IN: merlin-beta INTEGRATED IN: ladybird-rc1 merlin-beta VERIFIED IN: ladybird-rc1
14-06-2004

EVALUATION This test doesn't work on Linux. Either it shouldn't be run on Linux or else the test must be modified.
11-06-2004