Eliosoft / elios

Entertainment LIghting Open source Software a.k.a ELIOS is a Java application that provides remote management capabilities to your lighting system based on Art-Net. This project is released under GPL v3.
http://www.eliosoft.net
GNU General Public License v3.0
6 stars 3 forks source link

SocketException on close #43

Closed acollign closed 12 years ago

acollign commented 13 years ago

Seems to be a windows (vista) bug

here is the stacktrace :

 Jan 21, 2011 3:16:35 PM artnet4j.ArtNetServer start
 INFO: Art-Net server started at port: 6454
 Jan 21, 2011 3:16:35 PM net.eliosoft.elios.server.ArtNetServerManager startArtNet
 INFO: ArtNet Started (in:6454, out:6454)
 java.net.SocketException: socket closed
      at java.net.PlainDatagramSocketImpl.receive0(Native Method)
      at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
      at java.net.DatagramSocket.receive(Unknown Source)
      at artnet4j.ArtNetServer.run(ArtNetServer.java:100)
      at java.lang.Thread.run(Unknown Source)
 Jan 21, 2011 3:17:35 PM net.eliosoft.elios.server.ArtNetServerManager stopArtNet
 INFO: ArtNet Stopped
jgastonraoul commented 13 years ago

Can you have a look at that quickly ?

acollign commented 13 years ago

This is the piece of code that prints the stack trace

  } catch (SocketException e) {
     if (!e.getMessage().equals("Socket closed")) {
             e.printStackTrace();
     }

WTF ?

We have to remove every e.printStackTrace !!

jgastonraoul commented 13 years ago

This has to be corrected in artnet4j-elios... An issue has been created in the good project... see : https://github.com/Eliosoft/artnet4j-elios/issues#issue/2

acollign commented 12 years ago

Closed in artnet4j-elios, see https://github.com/Eliosoft/artnet4j-elios/issues#issue/2