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 247394 - NullPointerException at org.netbeans.modules.nativeexecution.api.util.ConnectionManager$JSchAccessImpl.setPortForwardingR
Summary: NullPointerException at org.netbeans.modules.nativeexecution.api.util.Connect...
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-23 10:11 UTC by Vladimir Kvashin
Modified: 2015-04-10 12:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 212132


Attachments
stacktrace (2.55 KB, text/plain)
2014-09-23 10:11 UTC, Vladimir Kvashin
Details
stacktrace (2.55 KB, text/plain)
2014-09-23 10:46 UTC, Vladimir Kvashin
Details
stacktrace (2.55 KB, text/plain)
2014-09-26 11:44 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2014-09-23 10:11:00 UTC
Build: Oracle Solaris Studio 12.4 (12.4 [2014/09/19 a81476bda090])
VM: Java HotSpot(TM) 64-Bit Server VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b13
OS: Linux

User Comments:
vkvashin: tried to debug core on remote Solaris




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.nativeexecution.api.util.ConnectionManager$JSchAccessImpl.setPortForwardingR(ConnectionManager.java:704)
   at org.netbeans.modules.cnd.debugger.dbx.vjsch.VJSchImpl$VirtSessionImpl.setPortForwardingR(VJSchImpl.java:102)
   at com.sun.tools.swdev.glue.remoteaccess.VJSchTunneler.remoteAttempt(VJSchTunneler.java:248)
   at com.sun.tools.swdev.glue.remoteaccess.VJSchTunneler.remoteAddrForLocalServer(VJSchTunneler.java:329)
   at com.sun.tools.swdev.glue.Surrogate.getRemoteTunnelFor(Surrogate.java:527)
   at com.sun.tools.swdev.glue.Surrogate.callback_remote_addr(Surrogate.java:280)
Comment 1 Vladimir Kvashin 2014-09-23 10:11:03 UTC
Created attachment 149455 [details]
stacktrace
Comment 2 Vladimir Kvashin 2014-09-23 10:46:42 UTC
Created attachment 149456 [details]
stacktrace

tried to debug a core file on remote machine
Comment 3 Vladimir Kvashin 2014-09-26 11:44:06 UTC
Created attachment 149539 [details]
stacktrace

Created a Quote sample project on remote host, with Studio toolchain.
Pressed "Step Into" - exception occurred
Comment 4 Maria Tishkova 2014-11-20 09:36:10 UTC
This is a debugger problem (dbx in particular)
Probably connected to port forwarding when Virtual Box is used
Comment 5 Vladimir Kvashin 2015-04-10 12:47:23 UTC
It's probably a dup of issue 247265, although stack differs a bit.
Anyhow, this does not repeat.