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 239891 - Project configuration should more resilient against invalid nb-configuration.xml changes
Summary: Project configuration should more resilient against invalid nb-configuration....
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-12-31 13:31 UTC by Michel Graciano
Modified: 2014-01-09 18:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file with exceptions (986.67 KB, text/x-log)
2013-12-31 13:32 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2013-12-31 13:31:24 UTC
[ BUILD # : 319a080c1f09 ]
[ JDK VERSION : 1.7.0_40 ]

Build 20131230-319a080c1f09

STEPS:
   * Create an invalid nb-configuration.xml file, in my case it was a SVN
conflict which corrupted the file

ACTUAL:
   The whole IDE became unstable and unresponsive, due to a large number of
errors in log file (will be attached)

EXPECTED:
   The IDE should keep stable and responsive, maybe the project could be marked
as unreadable or something like that, but the IDE as a whole should be OK. The
project should indicate that nb-configuration.xml file is corrupted.
Comment 1 Michel Graciano 2013-12-31 13:32:24 UTC
Created attachment 143539 [details]
Log file with exceptions
Comment 2 Milos Kleint 2014-01-01 21:14:50 UTC
leaked in with the recent rewrite. the meaning of null value changed.

http://hg.netbeans.org/core-main/rev/9bf08565db47
Comment 3 Michel Graciano 2014-01-01 21:50:12 UTC
Thanks. I will test it as soon as it hits main-golden.
Comment 4 Quality Engineering 2014-01-03 02:50:12 UTC
Integrated into 'main-silver', will be available in build *201401030002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9bf08565db47
User: Milos Kleint <mkleint@netbeans.org>
Log: #239891 avoid deadlock and repeated error logging on each call
Comment 5 Michel Graciano 2014-01-09 18:34:19 UTC
v. Build 20140107-13ff753a15fc