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 199735 - [70cat] java.io.IOException: D:\ProgramFiles\NetBeans7.0\${com.sun.aas.instanceRootURI}\applications\Administration
Summary: [70cat] java.io.IOException: D:\ProgramFiles\NetBeans7.0\${com.sun.aas.instan...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 14:58 UTC by jiai
Modified: 2011-10-31 17:31 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 174470


Attachments
stacktrace (1.44 KB, text/plain)
2011-06-27 14:58 UTC, jiai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jiai 2011-06-27 14:58:49 UTC
Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Windows 7

User Comments:
GUEST: Incremental deployment of JSP file to Glassfish

GUEST: saved the next changes to my code in j2ee appclient

mithridates: "clean and build" on a project. 
No idea why "AVM-CommonServices" is mentioned, this is a different project. Despite from that the file path is completely wrong.

GUEST: clean & rebuild an ejb project




Stacktrace: 
java.io.IOException: D:\ProgramFiles\NetBeans7.0\${com.sun.aas.instanceRootURI}\applications\Administration
   at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:613)
   at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor._distributeOnSave(ServerFileDistributor.java:368)
   at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.distributeOnSave(ServerFileDistributor.java:219)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.distributeChangesOnSave(TargetServer.java:253)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.notifyArtifactsUpdated(TargetServer.java:841)
   at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:439)
Comment 1 jiai 2011-06-27 14:58:53 UTC
Created attachment 109131 [details]
stacktrace
Comment 2 Petr Hejl 2011-10-11 13:55:07 UTC
Vince,
can you evaluate this? Looks like implementation of IncrementalDeployment.getDirectoryForModule() in GF returns File with some unevaluated property in path.
Comment 3 Vince Kraemer 2011-10-26 19:11:54 UTC
if an app is archive deployed and then the user attempts to directory deploy it this can happen.

Will create a IllegalStateException to get this situation flagged and messaged correctly.
Comment 4 Vince Kraemer 2011-10-31 17:31:04 UTC
in main-golden.. http://hg.netbeans.org/main-golden/rev/f64f6b641ba2