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 44729 - InvocationTargetException from the runtime tab
Summary: InvocationTargetException from the runtime tab
Status: RESOLVED DUPLICATE of bug 43602
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 22:23 UTC by Ana.von Klopp
Modified: 2004-08-13 12:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (10.12 KB, text/plain)
2004-06-10 22:30 UTC, Ana.von Klopp
Details
extract from the ide.log (1.08 KB, text/plain)
2004-06-10 22:34 UTC, Ana.von Klopp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ana.von Klopp 2004-06-10 22:23:12 UTC
I had a NB 3.6 installation (A) which was 
configured with one separate Tomcat installation 
in addition to the built in server. 

I then wanted to run 3.6 with SASPE 8, so I 
downloaded the bundle from java.sun.com. 
Unfortunately, this meant that I had to install a 
new version of 3.6 (B).

I ran that B and tried to execute somethings on 
the appserver. When I started it, it took my 
settings from installation A.  

I quit B and started A. I note that A does not 
include the appserver as an option (to be 
expected, since it doesn't have the plugin).

I went to the runtime tab to configure one of the 
Tomcats as my default server, and I got an 
invocationtarget exception in doing so (see 
attachment). 

[BTW, I don't want two 3.6 installations anyway - 
shouldn't the bundle configure the existing one, 
and/or remove it, instead of just setting up a 
second version - there is bound to be problems 
with this scenario. And many people who go for the 
bundle will have the regular release installed.]
Comment 1 _ ludo 2004-06-10 22:30:38 UTC
What you can do from a pure NetBeans 3.6 installation is go to update
Center and install the as8 plugin as an extra plugin, without using
the Cobundle installer.
Comment 2 Ana.von Klopp 2004-06-10 22:30:44 UTC
Created attachment 15641 [details]
Stack trace
Comment 3 Ana.von Klopp 2004-06-10 22:33:42 UTC
I try to deploy my application but it fails. I get a really cryptic 
message dialog. 

"Deployment error: Failed to lookup configuration for Tomcat5in . See 
ide log for ..."

(I think you forgot to wrap the error messages in this dialog, will 
file a separate issue for this). 

I will attach the message from the ide.log. 

It seems like the IDE has become unusable at this point. 

I confirmed it by restarting: yep, I get an InvocationTargetException 
on startup, and I cannot deploy after restarting the IDE either.
Comment 4 Ana.von Klopp 2004-06-10 22:34:12 UTC
Created attachment 15642 [details]
extract from the ide.log
Comment 5 Marek Fukala 2004-06-11 08:19:30 UTC
Note that there are more bugs with the some synopsis: #43404, #43602.
I remember I had the some problem even without the appserver plugin.
Comment 6 Pavel Buzek 2004-07-20 20:47:53 UTC
Having two installations of IDE with different sets of module share
the same userdir is not supported. As Ludo suggested use update center
for AS plugin or at least use 2 different use directories.
The first exception appears to be caused by presence of server
settings w/o the corresponding plugin.

The rest appears to be duplicate of #43602 as Marek noted.

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