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.
Build: NetBeans IDE Dev (Build 201402170649) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 8 User Comments: navneet: tomcat running with app and editing simultaneously results in too many redeployments. Can we get only Java class updates instead of redeployment ? GUEST: updated java class and saved Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.deployment.plugins.spi.IncrementalDeployment.getDirectoryForNewApplication(IncrementalDeployment.java:147) at org.netbeans.modules.j2ee.deployment.impl.InitialServerFileDistributor.distribute(InitialServerFileDistributor.java:105) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.initialDistribute(TargetServer.java:261) at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:666) at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:521) at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.run(DeployOnSaveManager.java:452)
Created attachment 145493 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=203648
Created attachment 152135 [details] stacktrace fabianedl777@gmail.com
I get this with GlassFish 5. At first, the deployment worked, but a few days the project reverted back from GlassFish to Tomcat for an unknown reason. I managed to change it back to GlassFish, but that did not work at first, either - there was only Tomcat in the selection box for a few minutes.
Created attachment 165673 [details] log file with multiple errors and strange warnings