This does not happen on a fresh project. However on several of our web projects (imported with an existing sources,
using shared libraries), the following sequence hangs the project:
1) Project properties > Libraries
2) click Add Library
3) click Import
4) select a library, say Absolute Layout
5) click Import library, the Import library window closes but the IDE hangs
The IDE hangs. I can move the "Add Library" window and it redraws, but the IDE is frozen. The folder "absolutelayout"
was created but nothing else.
(Also happens on Windows XP)
Removing all .svn directories from the project seems to help. Also deleting the whole content of the src folder helps.
Not that either of them is a possible work around.
Could you please attach thread dump?
Created attachment 73303 [details]
Following http://wiki.netbeans.org/BugPriorityGuidelines, I am setting priority to P1. Not sure if I understand the
reproducibility correctly. If it happens for a project, it happens always for that project. But it does not happen for
Subversion is somehow involved. P2. Could you please provide further information. What kind of project is that? ()j2e,
web ...), please also attach messages.log
it is a web project, with existing sources created in jdeveloper, the shared library folder is under WEB-INF.
I will attach message log tomorrow, when I get to that particular machine (I assume you want the message.log created at
the same time as the thread dump).
Is there any workaround?
Yes, the messages.log in which you've run into the issue.
I've just tried the latest build of NB 6.5 for web project (standard and with existing sources) and I can't reproduce
it. Any further details you could provide? Any chance to get your project?
1. If the problem occurs, does the IDE hang or it finishes in reasonable time?
2. If the problem occurs, could you please do and attach more thread dumps?
a) could reproduce with 6.5
- the shared lib folder has to be web-inf
- create webapp
- add library -> import -> ...
b) couldn't reproduce with a trunk build
possible workaround would be to deactivate the svn module for the time when setting up the libraries - main menu > tools
> plugins > installed > ...
To put libraries into WEB-INF is corner case and workaround exists. P2. Fix should be integrated into 65 PATCH1.
It looks like you can reproduce it. Do you still want me to provide any further information?
So it looks if we move the shared lib folder out of web-inf we should be fine.
> It looks like you can reproduce it. Do you still want me to provide any further information?
thanks. we are fine for now.
fixed in trunk
user: Tomas Stupka <email@example.com>
date: Wed Nov 12 14:27:31 2008 +0100
summary: #152354 - Freezes when trying to import a library
Please verify this issue so it can be included in NetBeans 6.5 Patch1
Unfortunatelly trunk build (18.11) still does not work (even with new subversion jar which fixed it in previous
Reproduction (nothing changed):
create new web application
import project into svn repository
trying to add a library into project freezes IDE (right when I press Finish button)
The same result was with new subversion jar, which seemed to fix this problem in previous versions, copied into modules
Then IDE auto-updated itself (found update for subversion module: updated from 1.4.1 to 1.5...), but the result
remained the same.
I will also add messages.log.
Cannot mark this issue as verified, recommend to reopen.
Product Version: NetBeans IDE Dev (Build 200811181401)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.24-21-generic running on i386; UTF-8; en_US (nb)
Created attachment 73900 [details]
attach a threaddump please
Created attachment 73913 [details]
my fault. changes weren't pushed yet. just try again ...
Integrated into 'main-golden', will be available in build *200811200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Tomas Stupka <firstname.lastname@example.org>
Log: #152354 - Freezes when trying to import a library
The issue didn't pass the nomination process by nomination cut-off date. It has been marked as 65fixes2-candidate.
Verified in trunk.
The changeset http://hg.netbeans.org/main/rev/42ba13d42061 has been transplanted into release65_fixes repository as