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 46214 - RuntimeException: Run Project is broaken....
Summary: RuntimeException: Run Project is broaken....
Status: CLOSED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Martin Grebac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 16:47 UTC by dmladek
Modified: 2004-08-13 12:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace of RuntimeE (1.32 KB, text/plain)
2004-07-15 16:48 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2004-07-15 16:47:41 UTC
Product Version       = NetBeans IDE Dev (Build
200407141800)
  Operating System      = Linux version
2.4.22-1.2115.nptl running on i386
  Java; VM; Vendor      = 1.5.0-beta3; Java
HotSpot(TM) Client VM 1.5.0-beta3-b56; Sun
Microsystems Inc.
  Java Home             = /usr/local/java/jdk1.5.0/jre
  System Locale; Encod. = cs_CZ (nb); ISO-8859-2
  Home Dir; Current Dir = /usr/local/home/delphym;
/usr/local/forte/forte3/NBdev-last/netbeans/bin
-------------------------------------------------------------------------------

I have JSP Project which I'd like to first test on
internal TomCat server. But istead of it I've got
RuntimeException :-(

Reproduction:
=============
1. checkout project form CVS repository
cvs -d :pserver:anoncvs@beetle:/cvs co webapps/listdb

2.then open this project
in the location where you've checkouted

3.Build Project
4.Start Tomcat Server
5.Run Project

Instead of opened JSP page in my favourite web
browser I've got RtE and following output:

pre-init:
init-private:
init-userdir:
init-user:
init-project:
do-init:
post-init:
init-check:
init-macrodef-javac:
init-macrodef-nbjpda:
init-macrodef-debug:
init-taskdefs:
init:
deps-jar:
pre-pre-compile:
pre-compile:
do-compile:
post-compile:
compile:
compile-jsps:


run-deploy:
/usr/src/CVS/Beetle/webapps/listdb/nbproject/build-impl.xml:253:
org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment$DeploymentException:
Deployment error: Failed to lookup configuration
for Tomcat5 in
MasterFileObject@14f7a86[file:/usr/src/CVS/Beetle/webapps/listdb/web/]
.  See ide log for details.
BUILD FAILED (total time: 3 seconds)




I can't see nothing wrong on mentioned line in
build-impl.xml (and it is internal IDE stuff),
so manual correcting of it doesn't make sence.

<nbdeploy debugmode="false"
clientUrlPart="${client.urlPart}"
forceRedeploy="${forceRedeploy}"/>
Comment 1 dmladek 2004-07-15 16:48:26 UTC
Created attachment 16282 [details]
stacktrace of RuntimeE
Comment 2 dmladek 2004-07-15 16:51:50 UTC
IMHO this is P2 bug.

Here are ather 2 issues which might be realted to this one:
bug #46088
bug #46202

I strongly warm of that First I dealed to this bug then bug #46202
So it is not definitely caused by manual editing of build-impl.xml file
Comment 3 Martin Grebac 2004-07-27 13:08:32 UTC
The project in the cvs is not a correct project. It has private folder
checked in CVS (caused by another bug) but that cannot be used as a
usecase. It has same .jar and .zip files on classpath (why?) and there
are other errors since it was created some time ago with older
versions of IDE. There were fixes in the area so I do consider this
issue as invalid. 
If you don't think so, please provide exact reproduction steps with
correct project. We are not able to support project changes in between
development builds. Sorry.
Comment 4 Martin Grebac 2004-07-27 13:08:54 UTC
status
Comment 5 dmladek 2004-08-10 14:14:52 UTC
OK,agree with status