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 Build:NetBeans IDE Build 200805030003 Appeserver Build :glassfish-installer-v2.1-b31-windows(https://glassfish.dev.java.net/public/alldownloads.html#Promoted_binary_builds) JDK Build :jdk1.5.0_13 How to reproduce: 1.Install NB and GF2.1 installer 2.Start NB IDE 3.Register GlassFish V2 and give platform location for glassfish-installer-v2.1-b31. 4.Right click on the GlassFish V2 server and select Start in Profile Mode. When tried to start the server in profile mode exception occurred: java.lang.IllegalArgumentException: Parameter file was not normalized. Was C:\Program Files\Java\jdk1.5.0_13\jre\.. instead of C:\Program Files\Java\jdk1.5.0_13 at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:649) at org.netbeans.modules.j2ee.sun.ide.j2ee.PlatformImpl.getJavaPlatform(PlatformImpl.java:651) at org.netbeans.modules.j2ee.deployment.devmodules.api.J2eePlatform.getJavaPlatform(J2eePlatform.java:450) at org.netbeans.modules.profiler.j2ee.J2EEProjectTypeProfiler.getServerJavaPlatform(J2EEProjectTypeProfiler.java:386) at org.netbeans.modules.profiler.j2ee.J2EEProjectTypeProfiler.generateAgentJavaPlatform(J2EEProjectTypeProfiler.java:756) [catch] at org.netbeans.modules.profiler.j2ee.J2EEProfilerSPI.getSettings(J2EEProfilerSPI.java:248) at org.netbeans.modules.j2ee.deployment.impl.ui.actions.ProfileAction.performActionImpl(ProfileAction.java:98) at org.netbeans.modules.j2ee.deployment.impl.ui.actions.ProfileAction.performAction(ProfileAction.java:71) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:577) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:302) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092) at java.awt.Component.processMouseEvent(Component.java:5517) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5282) at java.awt.Container.processEvent(Container.java:1966) at java.awt.Component.dispatchEventImpl(Component.java:3984) at java.awt.Container.dispatchEventImpl(Container.java:2024) at java.awt.Component.dispatchEvent(Component.java:3819) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822) at java.awt.Container.dispatchEventImpl(Container.java:2010) at java.awt.Window.dispatchEventImpl(Window.java:1791) at java.awt.Component.dispatchEvent(Component.java:3819) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) I tried to do profile a web application by right click on the web application and selecting profile,Showing exception as: java.lang.IllegalArgumentException: Parameter file was not normalized. Was C:\Program Files\Java\jdk1.5.0_13\jre\.. instead of C:\Program Files\Java\jdk1.5.0_13 at org.openide.filesystems.FileUtil.toFileObject(FileUtil.java:649) at org.netbeans.modules.j2ee.sun.ide.j2ee.PlatformImpl.getJavaPlatform(PlatformImpl.java:651) at org.netbeans.modules.j2ee.deployment.devmodules.api.J2eePlatform.getJavaPlatform(J2eePlatform.java:450) at org.netbeans.modules.profiler.j2ee.J2EEProjectTypeProfiler.getServerJavaPlatform(J2EEProjectTypeProfiler.java:386) at org.netbeans.modules.profiler.j2ee.J2EEProjectTypeProfiler.getProjectJavaPlatform(J2EEProjectTypeProfiler.java:376) at org.netbeans.modules.profiler.actions.AntActions.initPlatform(AntActions.java:684) at org.netbeans.modules.profiler.actions.AntActions.access$400(AntActions.java:84) at org.netbeans.modules.profiler.actions.AntActions$8.run(AntActions.java:500) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) After profiling a web application select IDE menu profile/Stop profiling session. Even after stopping profile session, still we can see green symbol over the GlassFish V2 server node.Doing refresh on GlassFish V2 server node green symbol disappears.
looks like a bug in http://hg.netbeans.org/main/rev/6d9aa20850c0
GF v2.1 installation has AS_JAVA=C:\Program Files\Java\jdk1.5.0_14\jre/.. in config/asenv.bat but GF v2 installation has the value as AS_JAVA=C:\Program Files\Java\jdk1.5.0_14 This difference is causing the error. Will have to follow up with the GF team to find out why it has changed.
It appears that either of the AS_JAVA values might be present in the config/asenv.* Plugin should be updated to handle either case.
Normalized jdk path http://hg.netbeans.org/main?cmd=changeset;node=099f295c7dd2