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 98942

Summary: JVM crashes when running tests on a test4u machine
Product: javaee Reporter: Andrei Badea <abadea>
Component: CodeAssignee: Nam Nguyen <nnguyen>
Status: VERIFIED FIXED    
Severity: blocker CC: mbalin, mmirilovic, mschovanek, musilt2, pjiricka, rkubacki
Priority: P1 Keywords: T9Y, TEST
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 98703    
Bug Blocks:    
Attachments: Log of the crash
proejct we using for testing - crash happend during open

Description Andrei Badea 2007-03-26 11:11:20 UTC
See the test results for j2ee/utilities for the 200703211900 and newer builds on
the Solaris test4u machine.
Comment 1 ehucka 2007-03-26 12:32:52 UTC
I have no idea what could be wrong on side of test4u. Tests are executed in
external process.
Tomasi, could you restart the machine? We will check if it is some leak in
solaris or not.
Comment 3 Tomas Danek 2007-03-26 16:57:40 UTC
I've just restarted the machine.
Comment 4 Tomas Danek 2007-03-26 17:06:38 UTC
Btw probably not problem of t4u, since whole machine seemed to be dead; I had to
perform power off-power on restart.
Comment 5 Marian Mirilovic 2007-03-30 09:00:23 UTC
JVM is crashing still during the same test case, it used to work few weeks ago,
so I think it started to crash after some change in process of Web projects
creation. 

Andrei,
what about your tests in j2ee/utilities ?

I am going to look at the machines and attach the log of the crash here. At
least we need to escalate to JDK team.
Comment 6 Marian Mirilovic 2007-03-30 09:09:42 UTC
Created attachment 40170 [details]
Log of the crash
Comment 7 Andrei Badea 2007-03-30 09:25:57 UTC
Re. j2ee/utilities test: I'm not aware of any recent changes to those tests or
the class they test.
Comment 8 Jiri Skrivanek 2007-03-30 09:40:04 UTC
Please, look at issue 98703. There is similar stack trace as in log which Marian
attached. It might be the cause because it appeared couple days ago.
Comment 9 Marian Mirilovic 2007-03-30 09:57:54 UTC
I found that for last development build (200703291800), it crashed also during
WebProject open (web project attached):
Windows XP - JDK 1.5.0_11
Windows 2000 - JDK 1.5.0_11
Linux Fedora Core 3 - JDK 1.5.0_11

We are running the same tests on the same machines with JDK 1.6.0 and all of
them run without any problems.
Comment 10 Marian Mirilovic 2007-03-30 10:00:24 UTC
Created attachment 40178 [details]
proejct we using for testing - crash happend during open
Comment 11 Petr Pisl 2007-03-30 10:33:55 UTC
There were done changes by poeple from Enterprise team as well. The integrated
the REST support into the web project. I think there are responsible for this.
There is also similar issuer #99497
Comment 12 Nam Nguyen 2007-03-31 16:50:05 UTC
Issue 99497 happen to both JDK 1.5 and 1.6.  I don't think it has anything to do
with this issue. That issue has been fixed.

I tried open the crash-causing project using JDK 1.5.0_09, JVM did not crash.
However, I note that the build-impl.xsl is empty.  Attempt to trigger generation
of the script (use project customizer and change some easy properties), causes
the same exception as issue 99497:

java.io.IOException: javax.xml.transform.TransformerConfigurationException:
Could not load the translet class 'build_impl'.

Issue 99497 points to a xalan JDK 1.5 bug, this one describe a Hotspot crash
with frame including xalan class.  They are probably the same problem, for now I
mark this bug as dependends on 99497.
Comment 13 Marian Mirilovic 2007-04-03 08:01:58 UTC
nnguyen,
I am still able to reproduce this on NB Dev (200704021800). 

Is anybody working on this ? 
If not, I am forced to switch off all automated tests touching web functionality.
Comment 14 Nam Nguyen 2007-04-03 08:15:30 UTC
Corrected the depedency.
Rico fixed issue 98703 on April 02.  So please verify the test run on some build
after 20070403.
Comment 15 Petr Jiricka 2007-04-16 17:57:50 UTC
Since Nam fixed the supposed root cause, can this now be closed?
Comment 16 Nam Nguyen 2007-04-16 18:26:41 UTC
Marked as fixed to be verified by QE.
Comment 17 Petr Blaha 2007-04-19 10:24:52 UTC
Mariane, can you reproduce the issue in the latest builds? If not, please mark
the bug as verified. Thanks, Petr
Comment 18 Marian Mirilovic 2007-04-19 10:26:35 UTC
I haven't seen any problem since Nam's fix - verified.