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 119767 - [60cat] NetBeans hangs after creating EJB Module Project
Summary: [60cat] NetBeans hangs after creating EJB Module Project
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P1 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2007-10-23 12:39 UTC by vanob
Modified: 2007-10-31 17:25 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Full Thread Dump (21.67 KB, text/plain)
2007-10-23 12:42 UTC, vanob
Details
messages.log (32.95 KB, text/plain)
2007-10-23 12:42 UTC, vanob
Details
Full Thread Dump after 5 minutes. classpath scan is finished (17.79 KB, text/plain)
2007-10-23 13:29 UTC, vanob
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vanob 2007-10-23 12:39:26 UTC
[ BUILD # : 200710221200 ]
[ JDK VERSION : 1.6.0_02 ]

1. Start with empty userdir
2. Create EJB Module project
NetBeans starts indexing glassfish jar files and hangs.
Comment 1 vanob 2007-10-23 12:42:13 UTC
Created attachment 51486 [details]
Full Thread Dump
Comment 2 vanob 2007-10-23 12:42:54 UTC
Created attachment 51487 [details]
messages.log
Comment 3 Andrei Badea 2007-10-23 13:03:08 UTC
Reproducible. Not a deadlock, but the AWT thread is either waiting on a lock or busy in javac. The hang ends for me when
the classpath scan finishes.
Comment 4 vanob 2007-10-23 13:28:04 UTC
For me hang does not end, after finishing classpath scan.
Waited for 5 minutes. I've got E6600 (2.4 Ghz) CPU with 2GB RAM.
Comment 5 vanob 2007-10-23 13:29:14 UTC
Created attachment 51489 [details]
Full Thread Dump after 5 minutes. classpath scan is finished
Comment 6 Oleg Khokhlov 2007-10-24 13:47:59 UTC
I can reproduce it when I create a new Enterprise Application and try to expand 'Enterprise Beans' node in EntApp-ejb
while indexing is in progress.
For me it doesn't hang forever but it took almost an hour to finish.
Comment 7 Andrei Badea 2007-10-24 13:55:48 UTC
Fixed. Please verify in a recent daily build (newer than beta 2).

Checking in src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/PersistentObjectManager.java;
/cvs/j2ee/metadata/support/src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/PersistentObjectManager.java,v
 <--  PersistentObjectManager.java
new revision: 1.21; previous revision: 1.20
done
Checking in src/org/netbeans/modules/j2ee/metadata/model/support/PersistentObjectList.java;
/cvs/j2ee/metadata/support/src/org/netbeans/modules/j2ee/metadata/model/support/PersistentObjectList.java,v  <-- 
PersistentObjectList.java
new revision: 1.4; previous revision: 1.3
done
RCS file:
/cvs/j2ee/metadata/support/test/unit/src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/InterruptibleObjectProviderImpl.java,v
done
Checking in
test/unit/src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/InterruptibleObjectProviderImpl.java;
/cvs/j2ee/metadata/support/test/unit/src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/InterruptibleObjectProviderImpl.java,v
 <--  InterruptibleObjectProviderImpl.java
initial revision: 1.1
done
RCS file:
/cvs/j2ee/metadata/support/test/unit/src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/PersistentObjectManagerEventTest.java,v
done
Checking in
test/unit/src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/PersistentObjectManagerEventTest.java;
/cvs/j2ee/metadata/support/test/unit/src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/PersistentObjectManagerEventTest.java,v
 <--  PersistentObjectManagerEventTest.java
initial revision: 1.1
done
Checking in
test/unit/src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/PersistentObjectManagerInterruptedTest.java;
/cvs/j2ee/metadata/support/test/unit/src/org/netbeans/modules/j2ee/metadata/model/api/support/annotation/PersistentObjectManagerInterruptedTest.java,v
 <--  PersistentObjectManagerInterruptedTest.java
new revision: 1.3; previous revision: 1.2
done
Comment 8 vanob 2007-10-31 17:25:20 UTC
Works fine