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.
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)
Created attachment 44918 [details] server.log attached
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 "?>".
*** This issue has been marked as a duplicate of 109815 ***