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 79296 - Starting Netbeans Throws runtime exception
Summary: Starting Netbeans Throws runtime exception
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
: 78906 79983 81113 81497 81515 83022 86403 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-28 00:07 UTC by ekimm
Modified: 2006-10-05 01:57 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file (50.14 KB, application/octet-stream)
2006-06-28 00:08 UTC, ekimm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ekimm 2006-06-28 00:07:46 UTC
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)
Comment 1 ekimm 2006-06-28 00:08:48 UTC
Created attachment 31436 [details]
Log file
Comment 2 Jan Lahoda 2006-06-28 07:35:58 UTC
=>j2ee
Comment 3 ekimm 2006-06-29 16:43:24 UTC
After erasing my .netbeans and restarting the IDE, this issue seems to 
disappear. 
Comment 4 Pavel Buzek 2006-07-11 15:11:56 UTC
The exception is thrown from sun app server plugin.
Comment 5 Vince Kraemer 2006-07-12 20:00:11 UTC
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.  
Comment 6 Sherold Dev 2006-07-13 13:02:15 UTC
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
Comment 7 Sherold Dev 2006-07-31 08:58:20 UTC
*** Issue 78906 has been marked as a duplicate of this issue. ***
Comment 8 _ ludo 2006-07-31 17:28:21 UTC
*** Issue 81497 has been marked as a duplicate of this issue. ***
Comment 9 Sherold Dev 2006-08-24 11:02:30 UTC
*** Issue 79983 has been marked as a duplicate of this issue. ***
Comment 10 Sherold Dev 2006-08-24 11:02:43 UTC
*** Issue 83022 has been marked as a duplicate of this issue. ***
Comment 11 Sherold Dev 2006-08-24 11:03:58 UTC
*** Issue 81515 has been marked as a duplicate of this issue. ***
Comment 12 Pavel Buzek 2006-08-29 19:03:56 UTC
*** Issue 81113 has been marked as a duplicate of this issue. ***
Comment 13 ekimm 2006-09-12 16:31:43 UTC
Doesn't seem to be an issue any longer with the latest build
Comment 14 Vince Kraemer 2006-10-05 01:57:23 UTC
*** Issue 86403 has been marked as a duplicate of this issue. ***