MinimServer Forum

Full Version: MinimWatch Unexpected Exception
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Been using MinimServer for a while now without any issues. In fact its running perfectly right now. But I have MinimWatch installed on a Windows 10 PC that was working fine till yesterday. I've been through similar threads here to diagnose and fix, but nothing is working out. So here is the log...

MinimWatch 0.8.3 update 37, Copyright © 2012-2015 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot™ Client VM (build 25.45-b02, mixed mode)
Platform default charset is windows-1252
java.lang.UnsatisfiedLinkError: C:\Users\Rajiv\AppData\Roaming\MinimWatch\data\tmp\native\ohNetJni.dll: The process cannot access the file because it is being used by another process
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.jminim.lib.OhNetService.createLibrary(OhNetService.java:574)
at org.jminim.lib.OhNetService.createControlPointStack(OhNetService.java:517)
at org.jminim.lib.OhNetService.createDeviceListFactory(OhNetService.java:409)
at org.jminim.lib.OhNetService.access$2100(OhNetService.java:47)
at org.jminim.lib.OhNetService$Proxy.createDeviceListFactory(OhNetService.java:961)​
at org.jminim.lib.ObserverService.startOhNet(ObserverService.java:97)
at org.jminim.lib.ObserverService.access$300(ObserverService.java:42)
at org.jminim.lib.ObserverService$ObserverImpl.start(ObserverService.java:355)
at com.minimserver.watch.MinimWatch.doStart(MinimWatch.java:231)
at com.minimserver.watch.MinimWatch.start(MinimWatch.java:53)
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:47)
at org.jminim.core.ContextImpl.start(ContextImpl.java:92)
at org.jminim.core.RuntimeImpl.run(RuntimeImpl.java:1403)
at org.jminim.core.LauncherImpl.run(LauncherImpl.java:1044)
at org.jminim.core.LauncherImpl.launch(LauncherImpl.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jminim.launch.Launcher.doLaunch(Launcher.java:621)
at org.jminim.launch.Launcher.launch(Launcher.java:204)
at com.minimserver.watch.launch.LaunchWatch.main(LaunchWatch.java:30)
Startup complete

Thanks!
(24-01-2016 09:52)UnTerS Wrote: [ -> ]Hi,

Been using MinimServer for a while now without any issues. In fact its running perfectly right now. But I have MinimWatch installed on a Windows 10 PC that was working fine till yesterday. I've been through similar threads here to diagnose and fix, but nothing is working out. So here is the log...

MinimWatch 0.8.3 update 37, Copyright © 2012-2015 Simon Nash. All rights reserved.
Java™ SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot™ Client VM (build 25.45-b02, mixed mode)
Platform default charset is windows-1252
java.lang.UnsatisfiedLinkError: C:\Users\Rajiv\AppData\Roaming\MinimWatch\data\tmp\native\ohNetJni.dll: The process cannot access the file because it is being used by another process

Thanks!

From this exception message, it appears you are trying to run more than one instance of MinimWatch at the same time. You should be able to solve this by rebooting the PC or closing the other MinimWatch process from Task Manager (look for javaw.exe).
Funny, tried multiple reboots, uninstalling and reinstalling, but nothing worked.

Shut down the PC overnight and booted the next day and its connected.

Thanks! And thanks for a super s/w like MinimServer.
Same problem here, also tried to reinstall, reboot, nothing works.
Hopefully tomorrow it will be better ...
Reference URL's