Post Reply 
MinimServer 0.8.1 is now available
01-01-2014, 10:38
Post: #71
RE: MinimServer 0.8.1 is now available
(30-12-2013 09:12)simoncn Wrote:  Please post the exact wording of the exception you are getting, together with the complete Java stack trace. You should be able to find this information in a crash log file in the /volume1/homes/minimserver/appData folder, which is visible in File Station.


Code:
MinimServer crash dump, produced at 20131229-221136.305

MinimServer: exception while processing action request: java.lang.ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
    at java.lang.System.arraycopy(Native Method)
    at com.minimserver.RandomFileInputStream.read(RandomFileInputStream.java:48)
    at java.io.DataInputStream.readFully(DataInputStream.java:178)
    at java.io.DataInputStream.readLong(DataInputStream.java:399)
    at com.minimserver.Server$CachedAudioItem.readDataCache(Server.java:7262)
    at com.minimserver.Server$AudioItem.getCachedItem(Server.java:8689)
    at com.minimserver.Server$AudioItem.access$8900(Server.java:8565)
    at com.minimserver.Server$Album.getAlbumArtInfo(Server.java:8998)
    at com.minimserver.Server.writeAlbumDIDL(Server.java:5391)
    at com.minimserver.Server.access$12700(Server.java:90)
    at com.minimserver.Server$AlbumView.getDIDL(Server.java:11737)
    at com.minimserver.Server$AlbumContainer.getDIDL(Server.java:11789)
    at com.minimserver.Server$Container.getContentsDIDL(Server.java:10589)
    at com.minimserver.Server$ContentDirectoryProvider.doBrowse(Server.java:13216)
    at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:13168)
    at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

"Timer-5" id=425 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.util.TaskQueue@4f1c81
    at java.lang.Object.wait(Object.java:485)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    at java.util.TimerThread.run(Timer.java:462)

"Thread-407" id=423 RUNNABLE (in native)

"Thread-406" id=422 RUNNABLE
    at sun.management.ThreadImpl.dumpThreads0(Native Method)
    at sun.management.ThreadImpl.getThreadInfo(ThreadImpl.java:427)
    at org.jminim.core.LogImpl.writeCrashDump(LogImpl.java:1033)
    at org.jminim.core.LogImpl.printStackTraceSync(LogImpl.java:958)
    - locked org.jminim.core.LogImpl@4892ba
    at org.jminim.core.LogImpl.errorEx(LogImpl.java:208)
    at com.minimserver.Server$ContentDirectoryProvider.browse(Server.java:13183)
    at org.openhome.net.device.providers.DvProviderUpnpOrgContentDirectory1$DoBrowse.ac​tionInvoked(DvProviderUpnpOrgContentDirectory1.java:978)

"Thread-405" id=421 RUNNABLE (in native)

"Thread-404" id=420 RUNNABLE (in native)

"Thread-403" id=419 RUNNABLE (in native)

"Thread-375" id=391 RUNNABLE (in native)

"Thread-374" id=390 RUNNABLE (in native)

"Thread-253" id=269 RUNNABLE (in native)
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at org.jminim.lib.HTTPConnection$ReaderThread.readRequest(HTTPConnection.java:192)
    at org.jminim.lib.HTTPConnection$ReaderThread.runReaderThread(HTTPConnection.java:1​55)
    at org.jminim.lib.HTTPConnection$ReaderThread.run(HTTPConnection.java:126)

"Thread-252" id=268 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPConnection@8c57b3
    at java.lang.Object.wait(Object.java:485)
    at org.jminim.lib.HTTPConnection.getRequest(HTTPConnection.java:108)
    at org.jminim.lib.HTTPConnection.access$1500(HTTPConnection.java:18)
    at org.jminim.lib.HTTPConnection$WriterThread.runWriterThread(HTTPConnection.java:4​21)
    at org.jminim.lib.HTTPConnection$WriterThread.run(HTTPConnection.java:411)

"Thread-144" id=160 RUNNABLE (in native)

"Thread-143" id=159 RUNNABLE (in native)

"Thread-142" id=158 RUNNABLE (in native)

"Thread-140" id=156 RUNNABLE (in native)

"Thread-138" id=154 RUNNABLE (in native)

"Thread-133" id=149 RUNNABLE (in native)
    at java.net.PlainSocketImpl.socketAccept(Native Method)
    at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)
    - locked java.net.SocksSocketImpl@991fa4
    at java.net.ServerSocket.implAccept(ServerSocket.java:462)
    at java.net.ServerSocket.accept(ServerSocket.java:430)
    at org.jminim.lib.HTTPService.runServerThread(HTTPService.java:326)
    at org.jminim.lib.HTTPService.access$200(HTTPService.java:28)
    at org.jminim.lib.HTTPService$1.run(HTTPService.java:311)

"Thread-132" id=148 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.HTTPService$SocketThread@ec7259
    at java.lang.Object.wait(Object.java:485)
    at org.jminim.lib.HTTPService$SocketThread.run(HTTPService.java:363)

"Thread-131" id=147 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.OhNetService$TimerThread@1475362
    at org.jminim.lib.OhNetService$TimerThread.run(OhNetService.java:749)

"Thread-130" id=146 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.lib.OhNetService$ActionThread@1b36034
    at java.lang.Object.wait(Object.java:485)
    at org.jminim.lib.OhNetService$ActionThread.run(OhNetService.java:704)

"Thread-129" id=145 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.launch.Launcher$ConsoleRequest@1d85c63
    at java.lang.Object.wait(Object.java:485)
    at org.jminim.launch.Launcher$ConsoleRequest.awaitCompletion(Launcher.java:1164)
    at org.jminim.launch.Launcher$ConsoleReader.readLine(Launcher.java:1027)
    - locked org.jminim.launch.Launcher$ConsoleReader@525a12
    at com.minimserver.lib.ServerConsole$ServerConsoleThread.run(ServerConsole.java:643​)

"Thread-127" id=141 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.core.RuntimeImpl$TimerThread@1c5bb20
    at org.jminim.core.RuntimeImpl$TimerThread.run(RuntimeImpl.java:2415)

"Thread-126" id=140 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on org.jminim.core.RuntimeImpl$ActionThread@804b67
    at java.lang.Object.wait(Object.java:485)
    at org.jminim.core.RuntimeImpl$ActionThread.run(RuntimeImpl.java:2369)

"Thread-1" id=9 RUNNABLE (in native)
    at sun.nio.ch.FileDispatcher.read0(Native Method)
    at sun.nio.ch.FileDispatcher.read(FileDispatcher.java:26)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:198)
    at sun.nio.ch.IOUtil.read(IOUtil.java:171)
    at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:144)
    - locked java.lang.Object@b28256
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:48)
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:92)
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:86)
    - locked sun.nio.ch.ChannelInputStream@18b0684
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
    - locked java.io.InputStreamReader@58e7c7
    at java.io.InputStreamReader.read(InputStreamReader.java:167)
    at java.io.BufferedReader.fill(BufferedReader.java:136)
    at java.io.BufferedReader.readLine(BufferedReader.java:299)
    - locked java.io.InputStreamReader@58e7c7
    at java.io.BufferedReader.readLine(BufferedReader.java:362)
    at org.jminim.launch.Launcher$ConsoleThread.run(Launcher.java:1112)

"Java2D Disposer" id=8 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.ReferenceQueue$Lock@d8cf89
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
    at sun.java2d.Disposer.run(Disposer.java:127)
    at java.lang.Thread.run(Thread.java:662)

"Signal Dispatcher" id=4 RUNNABLE

"Finalizer" id=3 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.ReferenceQueue$Lock@214573
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" id=2 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.ref.Reference$Lock@569dcf
    at java.lang.Object.wait(Object.java:485)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)

"main" id=1 WAITING
    at java.lang.Object.wait(Native Method)
    - waiting on java.lang.Object@d66e04
    at java.lang.Object.wait(Object.java:485)
    at org.jminim.core.RuntimeImpl.waitForRequest(RuntimeImpl.java:2286)
    at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1224)
    at org.jminim.core.LauncherImpl.run(LauncherImpl.java:795)
    at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:96)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jminim.launch.Launcher.doLaunch(Launcher.java:475)
    at org.jminim.launch.Launcher.launch(Launcher.java:133)
    at com.minimserver.launch.LaunchServer.main(LaunchServer.java:28)

- - - - - - - - - - - - - - - -

(30-12-2013 09:12)simoncn Wrote:  I don't think this is related to the MinimServer crash. After this happens, is there any error information in the file

/Users/<your-user-name>/Library/MinimWatch/minimwatch.log

or are there any crash log files in the

/Users/<your-user-name>/Library/MinimWatch

You are correct, no crash logs there.. but after a while the minimwatch stops responding, there is just the multicolored wheel spinning and I need to go into the task manager and manually kill Launchwatch in order to be able to restart minimwatch..

Please advise on what to do

Oh, and a Happy New 2014!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: MinimServer 0.8.1 is now available - Linn_agnostik - 01-01-2014 10:38

Forum Jump:


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