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 192222 - Case insensitive renames cause AssetionErrors
Summary: Case insensitive renames cause AssetionErrors
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 192506 193070 193117 193126 194755 (view as bug list)
Depends on: 194940
Blocks: 192637
  Show dependency tree
 
Reported: 2010-11-20 19:24 UTC by Blackpanther
Modified: 2011-11-03 19:32 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 173729


Attachments
stacktrace (2.78 KB, text/plain)
2010-11-20 19:24 UTC, Blackpanther
Details
stacktrace (2.78 KB, text/plain)
2010-11-22 00:36 UTC, Blackpanther
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blackpanther 2010-11-20 19:24:26 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Windows 7

User Comments:
mortennobel: Trying to build a C++ project on Windows 7 using MinGW

The build process goes into a loop (with an error message /bin/sh: touch: command not found)

After terminating the build process the error report pops up

GUEST: Trying to import a project into a subversion repository.
Happened at step : Choose to folder where to import

Blackpanther: Importing a project from repository

GUEST: Attempting to compile a c/c++ program.  I was using mingw/msys for build environment.

GUEST: Renaming a file. At the moment of renaming, the wasn't accessed by any process.




Stacktrace: 
java.lang.AssertionError: FileName: D:\Programmation\ProjetOptimEisti\trunk\Server\makefile@fe1821e fo: MasterFileObject[D:\Programmation\ProjetOptimEisti\trunk\Server\Makefile@5e7c7d85:654937e2,valid=true]
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.getChildren(FolderObj.java:150)
   at org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode.setGroups(ProjectsRootNode.java:646)
   at org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode.setProjectFiles(ProjectsRootNode.java:625)
   at org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode.setProjectFiles(ProjectsRootNode.java:533)
   at org.netbeans.modules.project.ui.ProjectsRootNode$BadgingNode$2.run(ProjectsRootNode.java:484)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
Comment 1 Blackpanther 2010-11-20 19:24:30 UTC
Created attachment 103144 [details]
stacktrace
Comment 2 Blackpanther 2010-11-22 00:36:43 UTC
Created attachment 103170 [details]
stacktrace

Updating from repository
Comment 3 soldatov 2010-11-22 15:12:38 UTC
This bug is appeared in very simple case.

I have folder with Makefile and test.c
Call "C/C++ Project with Existing Sources" wizard
Select "Automatic" mode
==> project is created
Run it
==> exception
Comment 4 Jaroslav Tulach 2010-11-26 16:26:00 UTC
All the problems come from windows and are caused by case insensitivity of the filesystem.
Comment 5 Jaroslav Tulach 2010-11-26 17:32:47 UTC
core-main#e1169459c473
Comment 6 Quality Engineering 2010-11-27 06:27:13 UTC
Integrated into 'main-golden', will be available in build *201011270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e1169459c473
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #192222: Don't create new FileName when rename changes case on case insensitive system
Comment 7 Vladimir Voskresensky 2010-12-10 05:36:17 UTC
*** Bug 193070 has been marked as a duplicate of this bug. ***
Comment 8 Vladimir Voskresensky 2010-12-10 05:38:42 UTC
*** Bug 193117 has been marked as a duplicate of this bug. ***
Comment 9 Vladimir Voskresensky 2010-12-10 05:39:19 UTC
*** Bug 193126 has been marked as a duplicate of this bug. ***
Comment 10 Vladimir Voskresensky 2011-01-26 23:50:01 UTC
*** Bug 194755 has been marked as a duplicate of this bug. ***
Comment 11 Marian Mirilovic 2011-11-03 19:32:12 UTC
*** Bug 192506 has been marked as a duplicate of this bug. ***