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 251547 - Netbeans hangs after updates to 8.0.2 - XML editing
Summary: Netbeans hangs after updates to 8.0.2 - XML editing
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-01 07:41 UTC by rjdkolb
Modified: 2017-11-14 13:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messagelog (91.64 KB, text/x-log)
2015-04-01 07:41 UTC, rjdkolb
Details
Thread dump (41.85 KB, text/plain)
2015-04-01 07:43 UTC, rjdkolb
Details
NetBeans crashes when editing XML files. (12.43 KB, image/png)
2017-11-14 13:04 UTC, Phloo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rjdkolb 2015-04-01 07:41:50 UTC
Created attachment 152959 [details]
messagelog

I got another 8.0.2 crash.
Attached is the message.log

I was formatting a tiny XML doc (about 130 chars) at the time and there is a Window "Lengthy operation in progress" -> Formatting text, please wait...

Using VisualVM it is using about 17 %, and the heap is going up and down

It may be related to the other two crashes I have experienced :
https://netbeans.org/bugzilla/show_bug.cgi?id=250885

thanks
Comment 1 rjdkolb 2015-04-01 07:43:00 UTC
Created attachment 152961 [details]
Thread dump
Comment 2 Petr Pisl 2015-04-01 07:56:30 UTC
Do you think that is it possible to attach the xml file to reproduce the issue? Thanks
Comment 3 rjdkolb 2015-04-01 08:03:01 UTC
I can't reproduce the issue with the same XML :(
Comment 4 Petr Pisl 2015-04-01 08:07:10 UTC
It can be some time issue. If you find a way how to reproduce it or a test case it would be great.
Comment 5 rjdkolb 2015-04-01 08:09:18 UTC
I have an application snapshot if that helps ?
Comment 6 Svata Dedic 2015-05-15 09:44:24 UTC
Applicaton snapshot - do you mean profiler snapshot of the locked up application ?
Comment 7 rjdkolb 2015-05-15 10:01:39 UTC
Correct. From VisualVM.
I think I deleted it by mistake, sorry.
This issue has not come up again, 
but I will keep a look out.

Will a VisualVM Application snapshot help in future ?
Comment 8 Svata Dedic 2015-05-15 10:14:03 UTC
Sure: if you look at the attached threaddump, the AWT thread is waiting - but the waited-on thread manipulating the Document is in RUNNABLE state, so it must be doing something very long, large, slow.

Run the CPU profiler for a few minutes time while the IDE seems to be locked up, so the profiler collects enough data. If you can take also the heapdump, I could get to the exact data being processed.

Closing temporarilu until further input is available - thanks for your help !
Comment 9 rjdkolb 2015-05-15 10:19:42 UTC
Thanks Svata.

The XML was less than 2k big.
I'll keep a look out.
Comment 10 Phloo 2017-11-14 13:04:38 UTC
Created attachment 165443 [details]
NetBeans crashes when editing XML files.

I can confirm the bug also.
NetBeans IDE 8.2 (Build 201705191307)

Whenever I try to edit XML or FXML files, I get this Retreive XML on the bottom, and the whole IDE freezes. 

Can only be closed if I kill the process.