Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
refreshing MinimWatch with an invalid subnet crashes
16-03-2015, 20:15
Post: #1
refreshing MinimWatch with an invalid subnet crashes
Hi, I recently set up MinimServer in a new network environment and came across the following MinimWatch crash:
1) Start MinimWatch with an invalid ohnet.subnet property set. MinimWatch will show the red icon with a 'subnet not found'- message, as expected.
2) Click 'Refresh'. MinimWatch will crash with a NullPointerException.
Find all posts by this user
Quote this message in a reply
16-03-2015, 22:24
Post: #2
RE: refreshing MinimWatch with an invalid subnet crashes
(16-03-2015 20:15)winxi Wrote:  Hi, I recently set up MinimServer in a new network environment and came across the following MinimWatch crash:
1) Start MinimWatch with an invalid ohnet.subnet property set. MinimWatch will show the red icon with a 'subnet not found'- message, as expected.
2) Click 'Refresh'. MinimWatch will crash with a NullPointerException.

Thanks for letting me know. Can you post the full stack trace (available in the log window)?
Find all posts by this user
Quote this message in a reply
16-03-2015, 22:39
Post: #3
RE: refreshing MinimWatch with an invalid subnet crashes
(16-03-2015 22:24)simoncn Wrote:  Thanks for letting me know. Can you post the full stack trace (available in the log window)?
Of course:

java.lang.NullPointerException
at org.jminim.lib.ObserverService.refreshLists(ObserverService.java:266)
at org.jminim.lib.ObserverService.access$700(ObserverService.java:42)
at org.jminim.lib.ObserverService$ObserverImpl.refresh(ObserverService.java:454)
at com.minimserver.lib.TrayControl$TrayView$10$1.action(TrayControl.java:2329)
at com.minimserver.lib.TrayControl$Action.run(TrayControl.java:1156)
at org.jminim.core.RuntimeImpl$1.run(RuntimeImpl.java:1295)
Find all posts by this user
Quote this message in a reply
18-03-2015, 12:41
Post: #4
RE: refreshing MinimWatch with an invalid subnet crashes
(16-03-2015 22:39)winxi Wrote:  Of course:

java.lang.NullPointerException
at org.jminim.lib.ObserverService.refreshLists(ObserverService.java:266)
at org.jminim.lib.ObserverService.access$700(ObserverService.java:42)
at org.jminim.lib.ObserverService$ObserverImpl.refresh(ObserverService.java:454)
at com.minimserver.lib.TrayControl$TrayView$10$1.action(TrayControl.java:2329)
at com.minimserver.lib.TrayControl$Action.run(TrayControl.java:1156)
at org.jminim.core.RuntimeImpl$1.run(RuntimeImpl.java:1295)

This problem is now fixed in MinimWatch update 31. There are two changes:

1) Fix NullPointerException when Refresh is selected and ohNet hasn't been started
2) Show Relaunch instead of Refresh after a startup error

Thanks for helping me find and fix this problem!
Find all posts by this user
Quote this message in a reply
19-03-2015, 09:03
Post: #5
RE: refreshing MinimWatch with an invalid subnet crashes
(18-03-2015 12:41)simoncn Wrote:  This problem is now fixed in MinimWatch update 31. There are two changes:

1) Fix NullPointerException when Refresh is selected and ohNet hasn't been started
2) Show Relaunch instead of Refresh after a startup error

Thanks for helping me find and fix this problem!

Many thanks for the quick fix!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)