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 197080 - NullPointerException at org.netbeans.modules.glassfish.javaee.ide.FastDeploy.initialDeploy
Summary: NullPointerException at org.netbeans.modules.glassfish.javaee.ide.FastDeploy....
Status: RESOLVED INCOMPLETE
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 08:31 UTC by Exceptions Reporter
Modified: 2011-04-14 12:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 175974


Attachments
stacktrace (979 bytes, text/plain)
2011-03-25 08:31 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-03-25 08:31:01 UTC
This issue was reported manually by mmirilovic.
It already has 25 duplicates 


Build: NetBeans IDE 7.0 Beta 2 (Build 201102140001)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows Vista

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.glassfish.javaee.ide.FastDeploy.initialDeploy(FastDeploy.java:123)
   at org.netbeans.modules.glassfish.javaee.ide.FastDeploy.initialDeploy(FastDeploy.java:115)
   at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:633)
   at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.notifyServer(DeployOnSaveManager.java:415)
   at org.netbeans.modules.j2ee.deployment.impl.DeployOnSaveManager$DeployTask.run(DeployOnSaveManager.java:358)
   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
Comment 1 Exceptions Reporter 2011-03-25 08:31:05 UTC
Created attachment 107271 [details]
stacktrace
Comment 2 Petr Hejl 2011-03-28 13:54:51 UTC
In every report there seems to be some other issue in initial distribution. Something like: java.lang.RuntimeException: java.io.FileNotFoundException: D:\backup\NetBeansProjects\trunk\itracv3\dist\gfdeploy\itracv3\itracv3-war_war\themes\cupertino\.svn\lock (The system cannot find the path specified)

It looks like null is returned from initialDistribute() only if it failed in fact. I changed the code to fail much earlier before NPE.

However to really fix that we might need some more info from reporter - ide logs, reproducible case etc.

web-main 685882ad8519
Comment 3 Quality Engineering 2011-03-29 08:42:54 UTC
Integrated into 'main-golden', will be available in build *201103290400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/685882ad8519
User: phejl@netbeans.org
Log: #197080 NullPointerException at org.netbeans.modules.glassfish.javaee.ide.FastDeploy.initialDeploy
Comment 4 Petr Hejl 2011-04-14 12:30:27 UTC
It is impossible to do more without some user feedback.