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 242223 - NullPointerException at org.netbeans.modules.j2ee.deployment.plugins.spi.IncrementalDeployment.getDirectoryForNewApplication
Summary: NullPointerException at org.netbeans.modules.j2ee.deployment.plugins.spi.Incr...
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-22 15:11 UTC by navneet
Modified: 2018-03-15 12:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 203648


Attachments
stacktrace (1.06 KB, text/plain)
2014-02-22 15:11 UTC, navneet
Details
stacktrace (1.06 KB, text/plain)
2015-02-21 20:15 UTC, Exceptions Reporter
Details
log file with multiple errors and strange warnings (178.53 KB, application/octet-stream)
2018-03-15 12:04 UTC, bht
Details

Note You need to log in before you can comment on or make changes to this bug.
Description navneet 2014-02-22 15:11:00 UTC
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)
Comment 1 navneet 2014-02-22 15:11:02 UTC
Created attachment 145493 [details]
stacktrace
Comment 2 Exceptions Reporter 2014-08-19 21:19:52 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=203648
Comment 3 Exceptions Reporter 2015-02-21 20:15:49 UTC
Created attachment 152135 [details]
stacktrace

fabianedl777@gmail.com
Comment 4 bht 2018-03-15 12:02:51 UTC
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.
Comment 5 bht 2018-03-15 12:04:08 UTC
Created attachment 165673 [details]
log file with multiple errors and strange warnings