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 28534 - ExecInfo is deprecated - please use Executor.execute(DataObject) instead
Summary: ExecInfo is deprecated - please use Executor.execute(DataObject) instead
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -S1S-
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords: API
: 29974 31145 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-06 16:07 UTC by Jan Becicka
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack Trace (647 bytes, text/plain)
2002-11-06 16:08 UTC, Jan Becicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Becicka 2002-11-06 16:07:32 UTC
Warning -
org.netbeans.modules.java.JavaProcessExecutor
should have overridden createProcess(DataObject);
falling back on deprecated ExecInfo usage
Comment 1 Jan Becicka 2002-11-06 16:08:44 UTC
Created attachment 7868 [details]
Stack Trace
Comment 2 Jan Becicka 2003-01-29 10:28:06 UTC
*** Issue 29974 has been marked as a duplicate of this issue. ***
Comment 3 Alexei Mokeev 2003-02-10 13:13:52 UTC
Similar exception thrown during execution something from
web-module(e.g servlet, html, whole web-module).
INFORMATIONAL *********** Exception occurred ************ at Mon Feb
10 15:43:57 MSK 2003
[catch]java.lang.Throwable: ExecInfo is deprecated - please use
Executor.execute(DataObject) instead
        at org.openide.execution.ExecInfo.<init>(ExecInfo.java:42)
        at org.openide.execution.ExecInfo.<init>(ExecInfo.java:51)
        at
org.netbeans.modules.j2ee.impl.WebExecInfo.<init>(WebExecInfo.java:43)
        at
org.netbeans.modules.j2ee.impl.ServerExecutor.execute(ServerExecutor.java:64)
        at
org.netbeans.modules.j2ee.impl.ExecSupport.start(ExecSupport.java:122)
        at
org.netbeans.modules.j2ee.impl.ServerExecSupport.start(ServerExecSupport.java:141)
        at
org.openide.actions.ExecuteAction.execute(ExecuteAction.java:140)
        at
org.openide.actions.ExecuteAction.execute(ExecuteAction.java:217)
        at
org.openide.actions.ExecuteAction.performAction(ExecuteAction.java:102)
        at
org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:431)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:95)
        at org.openide.util.Task.run(Task.java:136)
        at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:667)


Should I file separate bug on
org.netbeans.modules.j2ee.impl.ServerExecutor.execute() ?
Comment 4 Jan Becicka 2003-02-25 14:21:43 UTC
*** Issue 31145 has been marked as a duplicate of this issue. ***
Comment 5 Jan Becicka 2003-02-25 14:23:29 UTC
See Jesse's comment to issue 31145
Comment 6 Jesse Glick 2003-02-25 15:05:32 UTC
Ask me for help if you need it.
Comment 7 Svata Dedic 2003-02-28 09:48:11 UTC
/cvs/java/src/org/netbeans/modules/java/JavaProcessExecutor.java,v 
<--  JavaProcessExecutor.java
new revision: 1.9; previous revision: 1.8
Comment 8 Jesse Glick 2003-02-28 15:56:23 UTC
What is the milestone? Was this before or after branch?
Comment 9 Svata Dedic 2003-02-28 16:26:18 UTC
After - could be backported.
Comment 10 Svata Dedic 2003-03-04 16:36:27 UTC
Raising to P2, should be fixed in NB-3.5 -- deprecated features are 
used in standard/mainstream action. 
Comment 11 Svata Dedic 2003-03-04 17:05:22 UTC
Merged into 3.5: 
 
Checking in JavaProcessExecutor.java; 
/cvs/java/src/org/netbeans/modules/java/JavaProcessExecutor.java,v  
<--  JavaProcessExecutor.java 
new revision: 1.8.2.1; previous revision: 1.8 
 
Comment 12 Jan Becicka 2003-03-10 15:48:05 UTC
VERIFIED