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 270648 - Netbeans editor stuck when loading messages.properties bundle
Summary: Netbeans editor stuck when loading messages.properties bundle
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 8.2
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-15 12:06 UTC by roben
Modified: 2017-08-11 13:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans is stuck in this state for several seconds (62.03 KB, image/png)
2017-05-15 12:06 UTC, roben
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roben 2017-05-15 12:06:09 UTC
Created attachment 164318 [details]
Netbeans is stuck in this state for several seconds

Sometimes while editing a facelet and accessing the global message bundle by typing `#{msg`, Netbeans hangs unresponsively for several seconds in the state shown by the attached screenshot. When alt tabbing to a different application during this time, the message bundle preview window even stays focussed and unresponsive in front of everything else. I recently switched between git branches, so maybe this is related to the issue. Our message bundle contains about 5.500 lines of properties but in no case should this cause the whole UI to become unresponsive. So maybe this issue contains of two bugs: One causing the bundle to be processed slowly (late 2013 MBP with 16 GB Ram and i7 CPU) and the other one that processing the bundle blocks the UI.
Comment 1 roben 2017-05-15 12:10:17 UTC
Quick note: I noticed the missing quotes and duplicated value properties in the screenshot - I was just refactoring this part of the view when it happened. But I don't think that the messed up code is related to loading the messages.
Comment 2 Dusan Balek 2017-05-15 12:59:47 UTC
Could you please create a profiler snapshot while waiting for the unresponsive IDE using the 'Profile the IDE action' (Alt+Shift+Y) and attach it to the issue? Thanks.
Comment 3 roben 2017-05-15 13:06:39 UTC
Ok, but the issue appears only once every couple of days so it could take a while until I catch it again.

Will the profiler work at all when the whole IDE is unresponsive?
Comment 4 Dusan Balek 2017-05-15 13:11:37 UTC
If you could not take a profiler snaphsot, attach a full thread dump instead.