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 234115 - Messages log can be filling up by zillion the same messages
Summary: Messages log can be filling up by zillion the same messages
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-08 06:38 UTC by Martin Fousek
Modified: 2013-08-09 10:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
shortened messages.logs (152.98 KB, text/plain)
2013-08-08 06:38 UTC, Martin Fousek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Fousek 2013-08-08 06:38:49 UTC
Created attachment 138434 [details]
shortened messages.logs

See the attached, shorter messages.log I have. I had a project with some REST webservices. Outside of the IDE I moved the project to another location so the project disappeared from the project tab, but the messages.log began filling up with these messages:
INFO [org.netbeans.modules.websvc.rest.nodes.RestServiceChildFactory]: RestServicesModel is null

I know that it's pretty rare situation but the impact on the performance is pretty huge than and also I'm not able to retrieve any information from the messages.log then since it work replaces thousands times before I stopped the IDE.
Comment 1 Milan Kuchtiak 2013-08-08 09:12:07 UTC
Added the check if the thread is interrupted (according to ChildFactory#createKeys() JavaDoc). Also removed the log message.
This may help.

See:
http://hg.netbeans.org/web-main/rev/dfd6f3de2754
Comment 2 Milan Kuchtiak 2013-08-08 09:20:44 UTC
Oops, I realized ChildFactory#createKeys should return true if the model is null.
Comment 3 Milan Kuchtiak 2013-08-08 09:29:40 UTC
Now it should be fixed:
http://hg.netbeans.org/web-main/rev/2b3ff053b16f
Comment 4 Quality Engineering 2013-08-09 10:48:45 UTC
Integrated into 'main-silver', will be available in build *201308090746* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/dfd6f3de2754
User: Milan Kuchtiak <mkuchtiak@netbeans.org>
Log: #234115 add check if the thread is interrupted (according to JavaDoc)