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 167946 - Deploy works only after clean and build in NB6.7
Summary: Deploy works only after clean and build in NB6.7
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Satyaranjan D
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-01 11:39 UTC by kk_sriram
Modified: 2009-07-01 11:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kk_sriram 2009-07-01 11:39:02 UTC
Found in NB6.7 Portalpack3.0.2

In NB 6.5+Portalpack3.0.1 one could directly do a deploy w/o doing a clean and build.
But in NB6.7+Ppack3.0.2 deploying w/o selecting clean and build results in not working.
When i select deploy after creating a new project the console shows 

Created dir: C:\Documents and Settings\sriram\My Documents\NetBeansProjects\HelloPortlet2\build\empty
Copying 1 file to C:\Documents and Settings\sriram\My Documents\NetBeansProjects\HelloPortlet2\build\web\WEB-INF\classes
compile:
compile-jsps:
In-place deployment at C:\Documents and Settings\sriram\My Documents\NetBeansProjects\HelloPortlet2\build\web
Deployment error:
null
See the server log for details.
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:224)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:132)
        at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:103)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor233.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:497)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: java.lang.NullPointerException
        at org.netbeans.modules.portalpack.servers.core.PSDeployerImpl.deploy(PSDeployerImpl.java:79)
        at
org.netbeans.modules.portalpack.servers.core.impl.j2eeservers.sunappserver.SunAppIncrementalDeployment.initialDeploy(SunAppIncrementalDeployment.java:88)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:616)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:189)
        ... 17 more
BUILD FAILED (total time: 0 seconds)