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 143021 - [65cat] maven2: editing / saving pom.xml, closing projects results in IDE lockup
Summary: [65cat] maven2: editing / saving pom.xml, closing projects results in IDE lockup
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-06 10:25 UTC by kawazu428
Modified: 2008-08-07 08:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump of IDE while waiting to open project group (16.93 KB, text/plain)
2008-08-06 15:19 UTC, kawazu428
Details
IDE locked up while trying to manually open project? (19.61 KB, text/plain)
2008-08-06 15:40 UTC, kawazu428
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kawazu428 2008-08-06 10:25:26 UTC
[ BUILD # : 200808060201 ]
[ JDK VERSION : 1.6.0_07 ]

Using this mornings nightly build, working with pom.xml files
reproducibly does render the IDE unresponsive for "pom" type
artifacts

Last entries copied from messages.log before the IDE stops
responding:

[...]
WARNUNG [org.openide.loaders.InstanceDataObject]: Instance file
MultiFileObject@497ea6[Editors/Actions/org-netbeans-modules-editor-bra
cesmatching-BracesMatchAction-navigate.instance] uses instanceCreate
attribute, but doesn't define instanceClass attribute. Please add
instanceClass attr to avoid multiple instances creation,see details
at http://www.netbeans.org/issues/show_bug.cgi?id=131951
WARNUNG [org.openide.loaders.InstanceDataObject]: Instance file
MultiFileObject@150fa52[Editors/Actions/org-netbeans-modules-editor-br
acesmatching-BracesMatchAction-select.instance] uses instanceCreate
attribute, but doesn't define instanceClass attribute. Please add
instanceClass attr to avoid multiple instances creation,see details
at http://www.netbeans.org/issues/show_bug.cgi?id=131951
WARNUNG [org.netbeans.editor.BaseDocument]: Using deprecated document
construction for org.netbeans.editor.BaseDocument, see
http://www.netbeans.org/nonav/issues/show_bug.cgi?id=114747. Use
-J-Dorg.netbeans.editor.BaseDocument.level=500 to see the stacktrace.
WARNUNG [org.netbeans.editor.BaseDocument]:
org.netbeans.modules.xml.text.indent.XMLLexerFormatter uses
deprecated, slow and dangerous method BaseDocument.atomicLock ().
Invalid locks:
[end-of-logfile]

In some cases, after killing and restarting the IDE, the affected
project does not expand but just print "Initializing project..."
which doesn't seem to change. Trying to reload is not possible (not
in the context menu), trying to close the project again makes the IDE
unresponsive.
Comment 1 Milos Kleint 2008-08-06 12:34:16 UTC
please attach a tread dump when the ide stops responding. thanks.
Comment 2 kawazu428 2008-08-06 15:19:15 UTC
Created attachment 66705 [details]
thread dump of IDE while waiting to open project group
Comment 3 kawazu428 2008-08-06 15:21:05 UTC
Can't provide a better dump as the IDE so far refuses to switch to the project group I am usually working in, thus
opening the > 30 maven2 projects in there. Dump attached. Happens in a clean-room NetBeans configuration as well as in
an "old" configuration folder. Switching to project groups including non-maven2 projects still works.
Comment 4 kawazu428 2008-08-06 15:39:47 UTC
tried reproducing it by manually opening the initially affected maven2 project using "open project"; took quite a while
(30 seconds?) to recognize all the maven2 projects in its parent folders as such; after selecting the project the IDE
locked up in "Open Project" dialog, leaving "Please wait..." written both in the "project name" and the "required
projects" field. Gonna add another thread dump for whatever it's worth, is there anything else I can do here?
Comment 5 kawazu428 2008-08-06 15:40:45 UTC
Created attachment 66708 [details]
IDE locked up while trying to manually open project?
Comment 6 kawazu428 2008-08-07 08:34:41 UTC
see http://www.netbeans.org/issues/show_bug.cgi?id=143133 for explanations, this seems not an issue after dealing more
into it.