NeuronRobotics / NrConsole

This is the console application in Java for interacting with Bowler devices.
2 stars 0 forks source link

Network Connection Loss During Startup #3

Closed DrVulpinus closed 10 years ago

DrVulpinus commented 10 years ago

While NRConsole is starting up, for the time prior to the connection dialog opening the computer drops any network connections. Once the connection dialog opens the network connection is restored.

madhephaestus commented 10 years ago

lol, what? Do you mean that the computer loses its network connection while the connection dialog is starting?

DrVulpinus commented 10 years ago

Yes, the computer loses its network connection while the dialog is starting.

madhephaestus commented 10 years ago

Java should not be able to even access that...

Can you run the debugger to find the line where it fails? I tried it on mine and can not reproduce this.

DrVulpinus commented 10 years ago

I have been running the debugger quite a lot, but I cannot seem to find where it is happening. Although the error happens consistently everytime the program runs, It is hard to tell exactly when it happens.

Any ideas on where I might be more likely to find the source?

madhephaestus commented 10 years ago

Try here: https://github.com/NeuronRobotics/java-bowler/blob/master/javasdk/NRSDK/addons/com/neuronrobotics/sdk/ui/ConnectionDialog.java#L111

It is where each of the connection panels is added. This instantiates each one, so you should be able to narrow it down from there.

DrVulpinus commented 10 years ago

It seems that the issue is gone away, the loading time is now nearly instant, and I do not see a drop in the network connections on the computer.