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 220867 - masterfs.filebasedfs.utils.FSException: Cannot rename file localconf_add is improperly treated as SEVERE by uihandler or server
Summary: masterfs.filebasedfs.utils.FSException: Cannot rename file localconf_add is i...
Status: NEW
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 219825 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-25 17:45 UTC by localhorst
Modified: 2015-12-23 15:01 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191201


Attachments
stacktrace (5.65 KB, text/plain)
2012-10-25 17:45 UTC, localhorst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description localhorst 2012-10-25 17:45:49 UTC
Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b05
OS: Windows 7

User Comments:
localhorst: Opened an exisiting TYPO3 object, Background Scanning hung at 100%

GUEST: closing a project

GUEST: imported configuration from older version.
first start of IDE background scanning of projects hang on 100%.
deleted configuration data and retry whitout import configuration, no result.
olso tryed creating a new project with 7.2.




Stacktrace: 
org.netbeans.modules.masterfs.filebasedfs.utils.FSException: Cannot rename file localconf_add_dbconfig_test.php in E:/mt/Projekte/workspace/frage-trifft-antwort.de/frage-trifft-antwort.de/typo3conf to _localconf_add_dbconfig_test.php.
   at org.netbeans.modules.masterfs.filebasedfs.utils.FSException.io(FSException.java:118)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.rename(BaseFileObj.java:414)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.rename(FileObj.java:399)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:475)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj$1.call(BaseFileObj.java:472)
   at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:119)
Comment 1 localhorst 2012-10-25 17:45:53 UTC
Created attachment 126571 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-10-29 09:58:30 UTC
I've changed the BaseFileObj.rename to always throw the exception. It is a localized exception with properly attached message. Exceptions.findLocalizedMessage returns it properly, but the uihandler treats the exception as SEVERE. Probably it should ignore it completely if the localized message is present.
Comment 3 Jaroslav Tulach 2012-10-29 10:05:14 UTC
*** Bug 219825 has been marked as a duplicate of this bug. ***
Comment 4 Exceptions Reporter 2013-01-25 05:40:44 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=191201