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 111323 - java.lang.reflect.InvocationTargetException from org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.create
Summary: java.lang.reflect.InvocationTargetException from org.netbeans.modules.j2ee.jb...
Status: RESOLVED DUPLICATE of bug 110010
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 91831 102995 106237 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-29 23:58 UTC by telespalla_filone
Modified: 2007-08-31 10:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description telespalla_filone 2007-07-29 23:58:11 UTC
Hi, I downloaded NB 6.0 Build 200707270000 and, after installation, I opened a project of mine. Now, every time I start
the IDE i get an exception message as shown below.
Thanks for help.

A java.lang.reflect.InvocationTargetException exception has occurred.
However, the system should continue working without further problems.
Click Show Details for the stack trace.

Details:


Annotation: value = org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.create from
J2EE/DeploymentPlugins/JBoss4/Factory.instance
Annotation: value = org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.create from
J2EE/DeploymentPlugins/JBoss4/Factory.instance
Annotation: value = org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.create from
J2EE/DeploymentPlugins/JBoss4/Factory.instance
value = org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.create from J2EE/DeploymentPlugins/JBoss4/Factory.instance
value = org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.create from J2EE/DeploymentPlugins/JBoss4/Factory.instance
Caused: java.lang.NullPointerException
	at org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.setRemovability(JBDeploymentFactory.java:306)
	at org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.registerDefaultServerInstance(JBDeploymentFactory.java:260)
	at org.netbeans.modules.j2ee.jboss4.JBDeploymentFactory.create(JBDeploymentFactory.java:69)
Caused: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.methodValue(BinaryFS.java:559)
	at org.netbeans.core.startup.layers.BinaryFS$AttrImpl.getValue(BinaryFS.java:459)
	at org.netbeans.core.startup.layers.BinaryFS$BFSBase.getAttribute(BinaryFS.java:346)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:808)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:768)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:804)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:768)
	at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:693)
	at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1187)
	at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:695)
	at org.openide.loaders.FolderLookup$ICItem.getInstance(FolderLookup.java:515)
	at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:344)
	at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:192)
	at org.netbeans.modules.j2ee.deployment.impl.Server.<init>(Server.java:79)
	at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.addPlugin(ServerRegistry.java:123)
	at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.init(ServerRegistry.java:93)
	at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.instancesMap(ServerRegistry.java:114)
	at org.netbeans.modules.j2ee.deployment.impl.ServerRegistry.getInstanceURLs(ServerRegistry.java:200)
	at org.netbeans.modules.j2ee.deployment.plugins.api.InstanceProperties.getInstanceList(InstanceProperties.java:173)
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.getServerInstanceIDs(Deployment.java:182)
	at
org.netbeans.modules.j2ee.deployment.impl.query.J2eePlatformSourceForBinaryQuery.findSourceRoots(J2eePlatformSourceForBinaryQuery.java:68)
	at
org.netbeans.modules.java.source.classpath.CacheSourceForBinaryQueryImpl.findSourceRoots(CacheSourceForBinaryQueryImpl.java:52)
	at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots(SourceForBinaryQuery.java:67)
	at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:383)
	at org.netbeans.modules.java.j2seproject.MainClassUpdater$2.run(MainClassUpdater.java:169)
	at org.netbeans.modules.java.j2seproject.MainClassUpdater$2.run(MainClassUpdater.java:165)
	at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:562)
	at org.netbeans.api.java.source.JavaSource$CompilationJob.run(JavaSource.java:1414)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[catch] at java.lang.Thread.run(Thread.java:619)
Comment 1 Sherold Dev 2007-07-30 15:06:59 UTC
TM -> 6.0.

To get rid of this issue before it gets fixed you can either clean your NB user directory or disable the jboss plugin.
Comment 2 telespalla_filone 2007-07-31 20:08:56 UTC
Ok, thanks for help.
Regards

Filippo
Comment 3 Sherold Dev 2007-08-15 14:43:02 UTC
*** Issue 102995 has been marked as a duplicate of this issue. ***
Comment 4 Sherold Dev 2007-08-15 16:40:12 UTC
*** Issue 106237 has been marked as a duplicate of this issue. ***
Comment 5 Sherold Dev 2007-08-15 16:45:12 UTC
*** Issue 91831 has been marked as a duplicate of this issue. ***
Comment 6 Petr Hejl 2007-08-31 10:23:45 UTC

*** This issue has been marked as a duplicate of 110010 ***