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 110851 - Lockup when trying to add a .jar file.
Summary: Lockup when trying to add a .jar file.
Status: RESOLVED DUPLICATE of bug 110406
Alias: None
Product: webservices
Classification: Unclassified
Component: JAXB (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ gmpatil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-25 01:34 UTC by _ gsporar
Modified: 2007-08-31 18:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
output from jstack after the IDE became non-responsive (32.06 KB, application/octet-stream)
2007-07-25 01:35 UTC, _ gsporar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ gsporar 2007-07-25 01:34:10 UTC
Using the daily build of NetBeans 6 from 2007-07-20, running on Ubuntu 7.04 with JDK 6 Update 2.

Steps to reproduce:

1. Start GlassFish b56 (which was included with the daily build of NetBeans 6).

2. Create a new web application, choose Java EE 5 and GlassFish

3. Create JPA entity classes from the sample Derby database.  I used the purchase orders table and all of its related
tables.

4. Create REST web services from the entity classes.

At this point the application will not compile because there are additional .jar files needed.  The Sun Web Developer
Pack (SWDP) has been added to my GlassFish installation, but according to a comment on this IZ: 
http://www.netbeans.org/issues/show_bug.cgi?id=110667, that is not the correct approach any longer.  Instead, I am
supposed to use Jersey v 0.2.  From what I can tell, that requires me to manually add .jar files to the project from the
Jersey install.

5. Right-click the project's Libraries node in the Projects window and choose Add .jar file.

6. Navigate to the /lib subdirectory of the Jersey 0.2 installation.  Choose the jsr311-api.jar file.

The IDE freezes and becomes completely non-responsive.  I will attach the output from jstack.
Comment 1 _ gsporar 2007-07-25 01:35:07 UTC
Created attachment 45632 [details]
output from jstack after the IDE became non-responsive
Comment 2 Peter Pis 2007-07-25 12:11:44 UTC
Reassigning to "websvc"...
Comment 3 Nam Nguyen 2007-08-31 07:49:01 UTC
From my reading of the stack trace, this is not related to REST code even though the test case involved manual adding of
jersey jars to project library.
The locking up involve JAXBNodeFactory and DocBaseNodeFactory.

The events are triggered by file change events from the project save action as result of adding the libraries.
Assign to Girish for further investigation.
Comment 4 _ gmpatil 2007-08-31 18:15:03 UTC
Fixed in late July 20th build.
Assign back to me if happening in the latest builds.


*** This issue has been marked as a duplicate of 110406 ***