MinimServer Forum
Java Exception Error after Update - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: Java Exception Error after Update (/showthread.php?tid=4273)

Pages: 1 2 3 4 5 6


RE: Java Exception Error after Update - simoncn - 10-12-2017 08:47

Which NAS do you have?


RE: Java Exception Error after Update - Mr Frog - 10-12-2017 09:09

Same issue here.

QNAP Ts-212


RE: Java Exception Error after Update - simoncn - 10-12-2017 10:29

Open the App Center. On the MinimServer icon, select Stop from the drop-down menu. After the MinimServer icon has changed to grey, select Start.


RE: Java Exception Error after Update - steamfan - 10-12-2017 10:36

Hello,

I just upgraded to 111 and have the problem that MinimServer does not start at all, neither on Mac OS X 10.13.2 Beta , nor on the Synology (DS916+ with DSM 6.1.4-15217 Update 2) nor on my Raspberry Pis ("Raspbian GNU/Linux 8 (jessie)").

On the Raspberrys I get (which 'startc'):

Quote:MinimServer 0.8.4 update 111, Copyright © 2012-2017 Simon Nash. All rights reserved.
MinimStreamer 0.7.2, Copyright © 2012-2017 Simon Nash. All rights reserved.
java.lang.UnsatisfiedLinkError: /home/pi/MinimServer.aac/minimserver/tmp/native/libohNet.so: /usr/lib/arm-linux-gnueabihf/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/pi/MinimServer.aac/minimserver/tmp/native/libohNet.so)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1834)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.jminim.lib.OhNetService.createLibrary(OhNetService.java:663)
at org.jminim.lib.OhNetService.createDeviceStack(OhNetService.java:573)
at org.jminim.lib.OhNetService.createDeviceFactory(OhNetService.java:476)
at org.jminim.lib.OhNetService.access$2100(OhNetService.java:52)
at org.jminim.lib.OhNetService$Proxy.createDeviceFactory(OhNetService.java:1104)
at org.jminim.lib.MonitorService$Monitor.createDevice(MonitorService.java:264)
at org.jminim.lib.MonitorService$Monitor.listenerAdded(MonitorService.java:340)
at org.jminim.core.RuntimeImpl.addEventListener(RuntimeImpl.java:1784)
at org.jminim.lib.RuntimeService$Proxy.addEventListener(RuntimeService.java:218)
at com.minimserver.Server.doStart(Server.java:821)
at com.minimserver.Server.start(Server.java:521)
at org.jminim.core.ContextImpl.startComponent(ContextImpl.java:167)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RootContextImpl.startComponent(RootContextImpl.java:68)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1994)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1191)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:137)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:114)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:677)
at org.jminim.launch.Launcher.launch(Launcher.java:210)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:34)
MinimServer error: now stopped, use 'restart' or 'exit'
Enter command (? for help):
>

On Mac OS X I get

Quote:MinimServer 0.8.4 update 110, Copyright © 2012-2017 Simon Nash. All rights reserved.
MinimStreamer 0.7.2, Copyright © 2012-2017 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot™ 64-Bit Server VM (build 25.151-b12, mixed mode)
Java runtime options: -Djava.library.path=/private/var/folders/wj/x2wx5r7n6zjf68w3vlk14t240000gn/T/AppTranslocation/FF3AB7D2-8919-4693-A508-2EB1DE45E542/d/MinimServer.app/Contents/Resources/oracle/MinimServer/Contents/MacOS -Dfile.encoding=UTF-8
Platform default charset is UTF-8
autoUpdate: installed package 'minimserver-0.8-update-111' replacing 'minimserver-0.8-update-110'
autoUpdate: relaunching

Also 'more minimserver-threads-20171210-102647.log' gives:
Quote:MinimServer thread dump, produced at 20171210-102647

"Java2D Disposer" id=13 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@4973813a
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at sun.java2d.Disposer.run(Disposer.java:148)
at java.lang.Thread.run(Thread.java:748)

"Java2D Queue Flusher" id=12 TIMED_WAITING
at java.lang.Object.wait(Native Method)
- waiting on sun.java2d.opengl.OGLRenderQueue$QueueFlusher@6321e813
at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:203)

"AppKit Thread" id=10 RUNNABLE (in native)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@79be0360
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" id=2 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@22a67b4
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

"main" id=1 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:448)
at org.jminim.launch.Launcher.writeThreadDump(Launcher.java:1213)
at org.jminim.launch.Launcher.launch(Launcher.java:292)
at com.minimserver.launch.LaunchServer.main(LaunchServer.java:34)

in '/Users/<USER>/Library/MinimServer/minimserver.log' but MinimServer never starts

On the Synology I'm trying to find the log file.

Also, MinimWatch does not start on Mac OS X anymore

Quote:more minimwatch-threads-20171210-101724.log

MinimWatch thread dump, produced at 20171210-101724

"Java2D Disposer" id=13 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@402f32ff
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at sun.java2d.Disposer.run(Disposer.java:148)
at java.lang.Thread.run(Thread.java:748)

"Java2D Queue Flusher" id=12 TIMED_WAITING
at java.lang.Object.wait(Native Method)
- waiting on sun.java2d.opengl.OGLRenderQueue$QueueFlusher@573f2bb1
at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:203)

"AppKit Thread" id=10 RUNNABLE (in native)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.ReferenceQueue$Lock@5ae9a829
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" id=2 WAITING
at java.lang.Object.wait(Native Method)
- waiting on java.lang.ref.Reference$Lock@6d8a00e3
at java.lang.Object.wait(Object.java:502)
at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)

"main" id=1 RUNNABLE
at sun.management.ThreadImpl.dumpThreads0(Native Method)
at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:448)
at org.jminim.launch.Launcher.writeThreadDump(Launcher.java:1213)
at org.jminim.launch.Launcher.launch(Launcher.java:292)
at com.minimserver.watch.launch.LaunchWatch.main(LaunchWatch.java:34)

Any help is appreciated

Kind regards
steamfan


RE: Java Exception Error after Update - Mr Frog - 10-12-2017 10:44

I'm able to get into the QNAP App Centre, but when I select the MinimServer App, it says "Safari Can't Connect To The Server" ............

All other Apps are fine.

I've just updated to MacOS High Sierra 10.13.2 ... could that be the issue?


RE: Java Exception Error after Update - steamfan - 10-12-2017 10:45

It seems that after a restart
  • MinimServer on Synology is running again
  • MinimWatch on Mac OS X is running again



RE: Java Exception Error after Update - simoncn - 10-12-2017 10:49

(10-12-2017 10:44)Mr Frog Wrote:  I'm able to get into the QNAP App Centre, but when I select the MinimServer App, it says "Safari Can't Connect To The Server" ............

All other Apps are fine.

I've just updated to MacOS High Sierra 10.13.2 ... could that be the issue?

Don't select Open from the MinimServer icon. Instead, select Stop from the drop-down menu.


RE: Java Exception Error after Update - steamfan - 10-12-2017 10:51

After quite some time (longer then the usual startup scan)
  • MinimServer on Mac OS X is available again



RE: Java Exception Error after Update - simoncn - 10-12-2017 10:57

@steamfan:
MinimServer 0.8.4.7 update 111 is running OK on my Raspberry Pi 3. Is yours a Pi 3, Pi 2 or Pi 1? What version of Raspbian are you running?


RE: Java Exception Error after Update - Mr Frog - 10-12-2017 10:58

(10-12-2017 10:49)simoncn Wrote:  
(10-12-2017 10:44)Mr Frog Wrote:  I'm able to get into the QNAP App Centre, but when I select the MinimServer App, it says "Safari Can't Connect To The Server" ............

All other Apps are fine.

I've just updated to MacOS High Sierra 10.13.2 ... could that be the issue?

Don't select Open from the MinimServer icon. Instead, select Stop from the drop-down menu.

Unfortunately, the drop down menu is all greyed out, so I went into the QNAP App centre.

I'll restart the QNAP NAS to see if it clears the problem