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.
Summary: | write error during "Apply code changes" build from JavaSE Ant | ||
---|---|---|---|
Product: | java | Reporter: | err <err> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | mentlicher, mmirilovic |
Priority: | P3 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
err
2011-04-05 18:38:25 UTC
To be clear, jvi-project is a POJ project not a module. (it gets "wrapped") The javac is not able to replace the existing "com.raelity.jvi.core.GetChar" on Windows. Someone is holding the handle. Probably nothing to do with java/project which just starts the build script. Can you try to find out who holds the handle? The Process Monitor http://technet.microsoft.com/en-us/sysinternals/bb896645 is able to find it. (In reply to comment #2) > The javac is not able to replace the existing "com.raelity.jvi.core.GetChar" on > Windows. Someone is holding the handle. Right, something in NetBeans (perhaps the debugger) or the debugg'd JVM, since a second press of the button works correctly. Since I'd never seen it before I wondered if having the two editor windows with GetChar.java opened might have somehow triggered two 'removes' of the class file that conflicted. > Probably nothing to do with > java/project which just starts the build script. Can you try to find out who > holds the handle? The Process Monitor > http://technet.microsoft.com/en-us/sysinternals/bb896645 is able to find it. I should have done this (I use sysinternal process monitor), but in the heat of battle... I can't reproduce, haven't tried that much. Hmm, wonder if an active breakpoint in the file. Anyway, if I see it again, I'll dig more thoroughly. Close if you wish. OK, I will try to play with it for awhile and if I don't find a way how to reproduce I will close as WORKSFORME. If it reappears please reopen. |