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 70169 - NetBeans freezes after editing XML
Summary: NetBeans freezes after editing XML
Status: VERIFIED DUPLICATE of bug 70429
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Marek Fukala
URL: http://www.netbeans.org/kb/50/blackbe...
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-09 18:57 UTC by tomasz_buczek
Modified: 2006-03-07 12:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (99.83 KB, text/plain)
2005-12-12 13:37 UTC, tomasz_buczek
Details
The is a threaddump showing a deadlock in XML editor/navigator from our qa-functional unit tests. Probably the same problem as the reporter's. (21.68 KB, text/plain)
2005-12-12 15:39 UTC, Marek Fukala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomasz_buczek 2005-12-09 18:57:59 UTC
I have tried to set up Blackberry Development Using NetBeans Mobility steps: 
http://www.netbeans.org/kb/50/blackberry.html

NetBeans crashed at step: 
4. Use File tab of the Explorer and open build.xml of the project. Add this 
fragment of code right before the </project>: 

When I tried to edit build.xml NetBeans 5.0 beta 2 stopped responding and I 
had to shut it down.  This problem reproduces all the time.
Comment 1 Petr Jiricka 2005-12-11 22:36:40 UTC
Hi, what exactly does it mean it "stopped responding"? Is the repainting of
NetBeans dead? Is NetBeans grey? This would hint at a deadlock, can you please
provide a thread dump and attach it to this issue?

Also, can you please attach the IDE log file (messages.log under your user
settings directory)? Thanks.
Comment 2 tomasz_buczek 2005-12-12 13:37:53 UTC
Created attachment 27741 [details]
messages.log
Comment 3 tomasz_buczek 2005-12-12 13:43:32 UTC
stopped responding - meant NetBeans was grey 
messages.log is attached
I do not know how to do a thead dump:(

Recently I have tried again and everything was fine.  The difference this time 
was that after starting NetBeans I have waited for about 15 minutes before 
creating mobile project.  This could identify threading problem as you pointed 
out.
Comment 4 Marek Fukala 2005-12-12 15:12:28 UTC
The problem is likely a race condition in XML editor/navigator. If you had the
threaddump, I would be able to fix it otherwise I cannot do much. Please If you
encounter the problem again then press Ctrl-BREAK (on Windows) or Ctrl-\ on
linux in the console (you have to run NB with it) and the TD will be printed
out. Other ways of getting TD (if you do not have console) are more complicated.
On windows you need a special tool AFAIK, on linux kill -3 <PIDOF_NB> should
work. I am downgrading the issue and marking as incomplete.
Comment 5 Marek Fukala 2005-12-12 15:40:00 UTC
Created attachment 27751 [details]
The is a threaddump showing a deadlock in XML editor/navigator from our qa-functional unit tests. Probably the same problem as the reporter's.
Comment 6 Marek Fukala 2005-12-16 13:05:50 UTC
This is very likely a duplicate of Issue #70169. Both issues claims the deadlock
happened when editing a build file.

*** This issue has been marked as a duplicate of 70429 ***
Comment 7 Jiri Kovalsky 2006-03-07 12:35:40 UTC
Verified as duplicate of another issue. Thanks for your report anyway !