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 35998 - Running program with parameters doesn't work
Summary: Running program with parameters doesn't work
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-10 10:57 UTC by Milan Kubec
Modified: 2009-10-01 14:50 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 Milan Kubec 2003-09-10 10:57:52 UTC
When specifying parameters for execution in 'Edit
Run Profile' dialog, those params are not
propagated to running program. When running the
profile I got error message:
java.lang.NoClassDefFoundError: [first argument]
Comment 1 Milan Kubec 2003-09-10 13:54:19 UTC
It doesn't work only if the Run profile has '<Nothing>' as value of
property 'Before starting the profile, build:'. Othervise works OK.
Comment 2 Tomas Zezula 2003-09-18 19:13:06 UTC
Wrong set up of the process descritpor.
Comment 3 Tomas Zezula 2003-09-22 16:42:53 UTC
Can not reproduce on Linux OS.
Which OS did you use?
Comment 4 Tomas Zezula 2003-09-22 17:42:24 UTC
Sorry, I didn't read your second comment.
The issue is not valid.
The "befor starting the profile, build" option is a bit tricky and
confusing :-).
It determines 2 things (which is always bad).
1.) What to build before starting the Application
2.) The classpath of the Application itself.
The value <None> is a nonsence inherited from the UI Spec, it also
means no classpath at all. So it is quite obvious that the executor
can not find the class.
This dialog will change in the next version of the UI spec.
Comment 5 Milan Kubec 2003-10-14 12:48:39 UTC
OK. Verified.
Comment 6 Jan Becicka 2003-11-25 14:23:03 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as CLOSED.
Comment 7 Marian Mirilovic 2009-10-01 14:48:21 UTC
reopen to fix status and resolution
Comment 8 Marian Mirilovic 2009-10-01 14:50:54 UTC
fix status and resolution