Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 155659 - InstanceCreationException while opening project
InstanceCreationException while opening project
Product: ide
Classification: Unclassified
Component: Features On Demand
All All
: P2 (vote)
: 6.x
Assigned To: Jaroslav Tulach
Depends on:
  Show dependency treegraph
Reported: 2008-12-17 14:21 UTC by Rashid Urusov
Modified: 2009-06-21 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Rashid Urusov 2008-12-17 14:21:30 UTC
Product Version: NetBeans IDE Dev (Build 200812150750)
Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)
Userdir: C:\Documents and Settings\user\.netbeans\dev

Steps to reproduce:
- Create AnagramGame project
- Open project using Glassfish V2 for running (I used OrderSystem from profiler test specification)

I've got following exception and empty servers node in services tab:

org.netbeans.modules.j2ee.deployment.plugins.api.InstanceCreationException: Failed to create instance GlassFish V3.  See
the server log file for details.
	at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addInstance(
	at org.netbeans.modules.glassfish.javaee.JavaEEServerModuleFactory.createModule(
	at org.netbeans.modules.glassfish.common.GlassfishInstance.updateModuleSupport(
	at org.netbeans.modules.glassfish.common.GlassfishInstance.<init>(
	at org.netbeans.modules.glassfish.common.GlassfishInstance.create(
	at org.netbeans.modules.glassfish.common.GlassfishInstanceProvider.<init>(
	at org.netbeans.modules.glassfish.common.GlassfishInstanceProvider.getDefault(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.netbeans.core.startup.layers.BinaryFS$AttrImpl$MethodAndParams.invoke(
	at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(
	at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(
	at org.openide.filesystems.MultiFileObject.getAttribute(
	at org.openide.filesystems.MultiFileObject.getAttribute(
	at org.openide.filesystems.MultiFileObject.getAttribute(
	at org.openide.filesystems.MultiFileObject.getAttribute(
	at org.openide.filesystems.MultiFileObject.getAttribute(
	at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(
	at org.openide.loaders.InstanceDataObject.instanceCreate(
	at org.openide.loaders.FolderLookup$ICItem.getInstance(
	at org.openide.util.lookup.AbstractLookup$R.allInstances(
	at org.openide.util.lookup.ProxyLookup$R.computeResult(
	at org.openide.util.lookup.ProxyLookup$R.allInstances(
	at org.openide.util.lookup.ProxyLookup$R.collectFires(
	at org.openide.util.lookup.ProxyLookup$WeakResult.collectFires(
	at org.openide.util.lookup.AbstractLookup.notifyListeners(
	at org.openide.util.lookup.AbstractLookup$R.collectFires(
	at org.openide.util.lookup.AbstractLookup.notifyListeners(
	at org.openide.util.lookup.AbstractLookup$
	at org.openide.loaders.FolderLookup$
	at org.openide.util.RequestProcessor$
[catch] at org.openide.util.RequestProcessor$
Comment 1 Jaroslav Tulach 2008-12-17 14:41:26 UTC
Can I ask for exact steps how to reproduce your problem? As far as I know the AnagramGame is JavaSE project with no 
connection to Glassfish. I am not sure where to get the OrderSystem, or where to find the profiler test spec.

Anyway this issue seems to have similar cause as issue 154713. If you give me exact steps, I'll try to reproduce or 
let's wait for a build from that will contain revision 
54449729a0aa and verify yourself.
Comment 2 Rashid Urusov 2008-12-17 15:00:46 UTC
This is location for OrderSystem:

Some notes:
If I open OrderSystem with no previously opened project - no problems.
And when I open OrderSystem after creation or profiling AnagramGame I got exception.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo