Menu

#953 java.net.ServerSocket Exception on revision 3456

next release
closed
nobody
Easy (17)
5
2015-08-10
2011-02-16
No

The following step cause a ServerSocket Exception on revision 3456. The app crashes on the next run

1. Follow Menu Perferences/
2. Select Advance
3. Enter a large number in remote port text box (e.g, 602250)
4. Click OK

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Port value out of range: 602250
at java.net.ServerSocket.<init>(ServerSocket.java:180)
at net.sf.jabref.remote.RemoteListener.openRemoteListener(RemoteListener.java:119)
at net.sf.jabref.AdvancedTab.storeSettings(AdvancedTab.java:177)
at net.sf.jabref.PrefsDialog3$OkAction$1.run(PrefsDialog3.java:252)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at spin.Invocation.evaluate(Invocation.java:175)
at spin.off.SpinOffEvaluator$1.run(SpinOffEvaluator.java:108)
at java.lang.Thread.run(Thread.java:619)</init>

Discussion

  • Igor

    Igor - 2014-07-01
    • labels: --> Easy
    • Group: --> next release
     
  • Igor

    Igor - 2014-07-01

    Catch and treat the exception properly

     
  • Stefan Kolb

    Stefan Kolb - 2015-08-10
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB