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.
Attempted to startup however the following occurs when launching netbeans java.lang.RuntimeException: Cannot create J2eePlatformImpl instance for [C:\alaska\Sun\AppServer]deployer:Sun:AppServer::localhost:4848 at org.netbeans.modules.j2ee.sun.ide.j2ee.PlatformFactory.getJ2eePlatformImpl (PlatformFactory.java:40) at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getJ2eePlatformImpl (ServerInstance.java:190) at org.netbeans.modules.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuer y.findSourceRoots(J2eePlatformSourceForBinaryQuery.java:66) at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots (SourceForBinaryQuery.java:64) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation$SFBQListe ner.getResult(MergedClassPathImplementation.java:351) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addResour ces(MergedClassPathImplementation.java:393) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addClassP athResources(MergedClassPathImplementation.java:384) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addClassP ath(MergedClassPathImplementation.java:314) at org.netbeans.modules.javacore.classpath.MergedClassPathImplementation.addClassP aths(MergedClassPathImplementation.java:122) at org.netbeans.modules.javacore.JMManager.resolveJavaExtent (JMManager.java:528) at org.netbeans.modules.javacore.JMManager.getResource (JMManager.java:620) at org.netbeans.modules.javacore.JMManager.getResource (JMManager.java:576) at org.netbeans.modules.javacore.JMManager.getResource (JMManager.java:551) at org.netbeans.modules.javacore.api.JavaModel.getResource (JavaModel.java:83) at org.netbeans.modules.editor.java.JMIUtils.getResource (JMIUtils.java:485) at org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.proces sDocument(JEEVerificationAnnotationProvider.java:186) at org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.access $100(JEEVerificationAnnotationProvider.java:68) at org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider$Change Listener$1.run(JEEVerificationAnnotationProvider.java:346) at org.openide.util.RequestProcessor$Task.run (RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:926)
Created attachment 31436 [details] Log file
=>j2ee
After erasing my .netbeans and restarting the IDE, this issue seems to disappear.
The exception is thrown from sun app server plugin.
Does org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getJ2eePlatformImpl handle a null return? It doesn't look like it... sherold changed the code to throw the RTE instead of do a null return... I need a bit o guidance on this one.
F. Checking in src/org/netbeans/modules/j2ee/sun/ide/j2ee/PlatformFactory.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/PlatformFactory.java,v <-- PlatformFactory.java new revision: 1.1.16.2.2.3; previous revision: 1.1.16.2.2.2 done Checking in src/org/netbeans/modules/j2ee/sun/ide/j2ee/PlatformImpl.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/PlatformImpl.java,v <-- PlatformImpl.java new revision: 1.3.8.7.2.18; previous revision: 1.3.8.7.2.17 done
*** Issue 78906 has been marked as a duplicate of this issue. ***
*** Issue 81497 has been marked as a duplicate of this issue. ***
*** Issue 79983 has been marked as a duplicate of this issue. ***
*** Issue 83022 has been marked as a duplicate of this issue. ***
*** Issue 81515 has been marked as a duplicate of this issue. ***
*** Issue 81113 has been marked as a duplicate of this issue. ***
Doesn't seem to be an issue any longer with the latest build
*** Issue 86403 has been marked as a duplicate of this issue. ***