Working on Network drive

Hello Monkeys!

I am doing a multiplayer game. Up till now I have been transfering the whole project from one computer to another to do testing. This takes time.

I added a shared disk to my network (with homegroup and EVERYONE having full access). The server and local client runs fine but when I open the project on the remote computer and try to run it I get the following error:

Any ideas?

SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalArgumentException: URI has an authority component

Details–>

run:
août 19, 2015 5:02:44 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
août 19, 2015 5:02:45 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
août 19, 2015 5:02:45 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: \GHOST\Workspace\Jme3\Current\TheGame
août 19, 2015 5:02:46 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
août 19, 2015 5:02:46 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: igdumdim64
août 19, 2015 5:02:46 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: 10.18.10.4252
août 19, 2015 5:02:46 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: Intel
août 19, 2015 5:02:46 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 4.0.0 - Build 10.18.10.4252
août 19, 2015 5:02:46 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: Intel® HD Graphics 4000
août 19, 2015 5:02:46 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 4.00 - Build 10.18.10.4252
août 19, 2015 5:02:46 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
août 19, 2015 5:02:46 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
août 19, 2015 5:02:47 PM com.jme3.app.Application handleError
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalArgumentException: URI has an authority component

stack overflow has some posts on the topic:

This exception isn’t jmonkey specific and seems to come from windows handling the URIs differently
P.S. Why does stackoverflow use the authors profile pic as preview image? I love it! XD

That explains it well but I was looking for someone who has experience with using jme through a networked workspace…

Can you post the log with the entire exception? What you posted has the stack trace cut off.

Exception came from File.java

I double checked, all subfolders have correct rights

P.S Would creating a local git rep help me at all?

run:
août 19, 2015 7:36:03 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(…) returned error code 5.
août 19, 2015 7:36:05 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
août 19, 2015 7:36:05 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: \GHOST\TheWorkspace\Jme3\Current\TheGame
août 19, 2015 7:36:05 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread
août 19, 2015 7:36:05 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Adapter: igdumdim64
août 19, 2015 7:36:05 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Driver Version: 10.18.10.4252
août 19, 2015 7:36:05 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Vendor: Intel
août 19, 2015 7:36:05 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: OpenGL Version: 4.0.0 - Build 10.18.10.4252
août 19, 2015 7:36:05 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: Renderer: Intel® HD Graphics 4000
août 19, 2015 7:36:05 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: GLSL Ver: 4.00 - Build 10.18.10.4252
août 19, 2015 7:36:05 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Device: OpenAL Soft
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Vendor: OpenAL Community
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Renderer: OpenAL Soft
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio Version: 1.1 ALSOFT 1.15.1
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: AudioRenderer supports 64 channels
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio effect extension version: 1.0
août 19, 2015 7:36:05 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread
INFO: Audio max auxilary sends: 4
août 19, 2015 7:36:06 PM com.jme3.app.Application handleError
SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.IllegalArgumentException: URI has an authority component
at java.io.File.(File.java:423)
at com.jme3.asset.plugins.ClasspathLocator.locate(ClasspathLocator.java:88)
at com.jme3.asset.ImplHandler.tryLocate(ImplHandler.java:177)
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:272)
at com.jme3.asset.DesktopAssetManager.loadTexture(DesktopAssetManager.java:346)
at com.jme3.niftygui.RenderImageJme.(RenderImageJme.java:55)
at com.jme3.niftygui.RenderDeviceJme.createImage(RenderDeviceJme.java:166)
at de.lessvoid.nifty.render.NiftyImageManager.addImage(NiftyImageManager.java:127)
at de.lessvoid.nifty.render.NiftyImageManager.registerImage(NiftyImageManager.java:28)
at de.lessvoid.nifty.render.NiftyRenderEngineImpl.createImage(NiftyRenderEngineImpl.java:172)
at de.lessvoid.nifty.loaderv2.types.apply.ApplyRendererImage.apply(ApplyRendererImage.java:37)
at de.lessvoid.nifty.elements.Element.initializeFromAttributes(Element.java:434)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyAttributes(ElementType.java:218)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyStandard(ElementType.java:172)
at de.lessvoid.nifty.loaderv2.types.ElementType.create(ElementType.java:144)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyChildren(ElementType.java:251)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyStandard(ElementType.java:175)
at de.lessvoid.nifty.loaderv2.types.ElementType.create(ElementType.java:144)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyChildren(ElementType.java:251)
at de.lessvoid.nifty.loaderv2.types.ElementType.applyStandard(ElementType.java:175)
at de.lessvoid.nifty.loaderv2.types.ElementType.create(ElementType.java:144)
at de.lessvoid.nifty.Nifty.createElementFromTypeInternal(Nifty.java:1439)
at de.lessvoid.nifty.Nifty.createElementFromType(Nifty.java:1430)
at de.lessvoid.nifty.builder.ElementBuilder.build(ElementBuilder.java:448)
at de.lessvoid.nifty.builder.LayerBuilder.build(LayerBuilder.java:22)
at de.lessvoid.nifty.builder.ScreenBuilder.build(ScreenBuilder.java:52)
at game.nifty.MainMenu.process(MainMenu.java:159)
at game.nifty.ScreenFactory.buildScreen(ScreenFactory.java:40)
at game.Main.buildAndGoToScreen(Main.java:466)
at game.Main.mainInit(Main.java:107)
at game.Jme.initialize(Jme.java:157)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:130)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
at java.lang.Thread.run(Thread.java:744)

local git is the way I’d go in this case, yes, maybe even online if you have the option

Ok, can you please explain to me how to set it up locally? I have zero experience with gits.

I noticed I can right click project → Versioning → Initialise git repository. Whats next?

No, this is not a git forum

I created a bug entry for this. Feel free to look into it.

1 Like

Just mount it as a drive and be happy.

2 Likes

Thanks for the entry Momoko_Fan!

Hey Momoko_Fan, after looking through your bug entry I found a simple way to make it work by mounting network drives as local, using Symbolic links!

http:// serverfault.com/questions/108193/mount-network-drive-as-physical-drive

Just open CMD as admin and type in (Windows Vista or later):

mklink /D C:\LinkName \NetworkLocation\LocationName

Thank you so much this is going to save me allot of time!

1 Like