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 109309 - UnsupportedOperationException during redeployment
Summary: UnsupportedOperationException during redeployment
Status: RESOLVED DUPLICATE of bug 109815
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-11 01:04 UTC by _ krystyna
Modified: 2007-07-17 01:49 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
server.log attached (164.98 KB, application/octet-stream)
2007-07-11 01:05 UTC, _ krystyna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ krystyna 2007-07-11 01:04:16 UTC
NB installer build 07101200
XP :JD 1.5.0_11,Glassfish v2 b52
Solaris: JDK1.6.0_02, Glassfish v4 b54

1. Create an EE5 project and drop any two components, e.g. textArea and deploy. OK.
2. Deploy again. Do not necessarily have to make any changes.
>

java.lang.UnsupportedOperationException
        at org.netbeans.modules.j2ee.sun.ide.j2ee.ModuleConfigurationImpl.save(ModuleConfigurationImpl.java:319)
        at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getDeploymentPlanFileForDistribution
(ConfigSupportImpl.java:759)
        at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getConfigurationFile
(ConfigSupportImpl.java:126)
        at org.netbeans.modules.j2ee.deployment.impl.projects.DeploymentTargetImpl.getConfigurationFile
(DeploymentTargetImpl.java:208)
        at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor._distribute(ServerFileDistributor.java:225)
        at org.netbeans.modules.j2ee.deployment.impl.ServerFileDistributor.distribute(ServerFileDistributor.java:143)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.distributeChanges(TargetServer.java:141)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:504)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:128)
        at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:82)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor103.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
        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:1329)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:256)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:438)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:129)
Comment 1 _ krystyna 2007-07-11 01:05:11 UTC
Created attachment 44918 [details]
server.log attached
Comment 2 _ potingwu 2007-07-11 19:05:52 UTC
I see the following error in the server.log that may be the cause:
  3637deca3855;|ApplicationDispatcher[/WebApplication849] PWC1231: Servlet.service() for servlet jsp threw exception
  org.apache.jasper.JasperException: PWC6250:  The XML declaration must end with "?>".
Comment 3 Vince Kraemer 2007-07-17 01:49:21 UTC

*** This issue has been marked as a duplicate of 109815 ***