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 182063 - getErr() not supported by terminal based InputOutput
Summary: getErr() not supported by terminal based InputOutput
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-15 16:34 UTC by Vladimir Voskresensky
Modified: 2012-04-26 12:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 166443


Attachments
stacktrace (1.70 KB, text/plain)
2010-03-15 16:34 UTC, Vladimir Voskresensky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2010-03-15 16:34:25 UTC
Build: NetBeans IDE Dev (Build 100315-571e6f01e589)
VM: Java HotSpot(TM) Server VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: SunOS

User Comments:
vv159170: internal term with profiler ON




Stacktrace: 
java.lang.UnsupportedOperationException: Not supported yet.
   at org.netbeans.modules.terminal.ioprovider.TerminalInputOutput.getErr(TerminalInputOutput.java:502)
   at org.netbeans.modules.cnd.gizmo.actions.GizmoRunActionHandler.targetFinished(GizmoRunActionHandler.java:304)
   at org.netbeans.modules.cnd.gizmo.actions.GizmoRunActionHandler.targetStateChanged(GizmoRunActionHandler.java:262)
   at org.netbeans.modules.dlight.api.execution.DLightTarget$1.run(DLightTarget.java:134)
   at org.netbeans.modules.dlight.util.DLightExecutorService$2.run(DLightExecutorService.java:89)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1356)
Comment 1 Vladimir Voskresensky 2010-03-15 16:34:29 UTC
Created attachment 95203 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2010-03-15 16:38:35 UTC
this issue block using internal terminal from clients without changing code related to general IO
Comment 3 Vladimir Voskresensky 2010-03-15 16:45:53 UTC
I've put workaround to unblock usage of Term:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=36f0e8150bcc
Comment 4 Quality Engineering 2010-03-17 05:13:10 UTC
Integrated into 'main-golden', will be available in build *201003170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/36f0e8150bcc
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: workaroud for #182063 -  UnsupportedOperationException: Not supported yet.
Comment 5 Alexander Pepin 2010-08-12 14:52:54 UTC
So it's not a P2 any more. Please escalate if it should be fully fixed ASAP.
Comment 6 Vladimir Voskresensky 2010-12-15 21:54:32 UTC
let's evaluate exceptions as P2 issues
Comment 7 ivan 2010-12-15 22:06:29 UTC
(In reply to comment #6)
> let's evaluate exceptions as P2 issues

OK although I think the NPE is long gone.
However the workaround semantics of output aren't all correct.
Comment 8 Leonid Lenyashin 2010-12-16 10:34:31 UTC
Guys, there is a comment from Alexander, that it is not a P2 anymore. Right after that one there is Vladimir's one asking for evaluation and it is upgraded to P2. I believe it is a side effect of batch update. 
Downgrading to P3.
Ivan reported that NPE is gone. May be we need to close this one?
Comment 9 ivan 2010-12-16 21:36:00 UTC
(In reply to comment #8)
> Guys, there is a comment from Alexander, that it is not a P2 anymore. Right
> after that one there is Vladimir's one asking for evaluation and it is upgraded
> to P2. I believe it is a side effect of batch update. 
> Downgrading to P3.
> Ivan reported that NPE is gone. May be we need to close this one?

No, to fix the NPE Vladimir put in is a workaround which isn't
%100 semantically correct. I've been keeping this IZ open as a reminder
to get it implemented properly.
Comment 10 Leonid Lenyashin 2011-01-20 10:12:25 UTC
Any progress on this issue? Any help needed?
Comment 11 Alexander Simon 2012-04-26 12:42:59 UTC
It seems work around was reworked by change set:
http://hg.netbeans.org/cnd-main/rev/f14b3a4eb445

Close as fixed long ago.