brainless-studios / alchemist

Other
2 stars 1 forks source link

EntityComponent scan made an exception #15

Open methusalah opened 8 years ago

methusalah commented 8 years ago

it seems that a folder is missing. I try to get more info

Executing: gradle run Arguments: [-c, /home/joe/Dev/games/MMProto/settings.gradle]

:compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE 592 [JavaFX Application Thread] WARN org.reflections.Reflections - could not create Dir using directory from url file:/home/joe/Dev/games/MMProto/build/resources/main. skipping. java.lang.NullPointerException at org.reflections.vfs.Vfs$DefaultUrlTypes$3.matches(Vfs.java:239) at org.reflections.vfs.Vfs.fromURL(Vfs.java:98) at org.reflections.vfs.Vfs.fromURL(Vfs.java:91) at org.reflections.Reflections.scan(Reflections.java:237) at org.reflections.Reflections.scan(Reflections.java:204) at org.reflections.Reflections.(Reflections.java:129) at org.reflections.Reflections.(Reflections.java:170) at com.brainless.alchemist.view.util.UserComponentList.(UserComponentList.java:20) at com.brainless.alchemist.view.Alchemist.start(Alchemist.java:26) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(LauncherImpl.java:863) at com.sun.javafx.application.LauncherImpl$$Lambda$58/909019812.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl$$Lambda$51/553264065.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295) at com.sun.javafx.application.PlatformImpl$$Lambda$53/744453117.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(PlatformImpl.java:294) at com.sun.javafx.application.PlatformImpl$$Lambda$52/1789447862.run(Unknown Source) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication.lambda$null$48(GtkApplication.java:139) at com.sun.glass.ui.gtk.GtkApplication$$Lambda$41/683287027.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) 593 [JavaFX Application Thread] WARN org.reflections.Reflections - could not create Vfs.Dir from url. ignoring the exception and continuing org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/home/joe/Dev/games/MMProto/build/resources/main] either use fromURL(final URL url, final List urlTypes) or use the static setDefaultURLTypes(final List urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType. at org.reflections.vfs.Vfs.fromURL(Vfs.java:109) at org.reflections.vfs.Vfs.fromURL(Vfs.java:91) at org.reflections.Reflections.scan(Reflections.java:237) at org.reflections.Reflections.scan(Reflections.java:204) at org.reflections.Reflections.(Reflections.java:129) at org.reflections.Reflections.(Reflections.java:170) at com.brainless.alchemist.view.util.UserComponentList.(UserComponentList.java:20) at com.brainless.alchemist.view.Alchemist.start(Alchemist.java:26) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$159(LauncherImpl.java:863) at com.sun.javafx.application.LauncherImpl$$Lambda$58/909019812.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$172(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl$$Lambda$51/553264065.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$null$170(PlatformImpl.java:295) at com.sun.javafx.application.PlatformImpl$$Lambda$53/744453117.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$171(PlatformImpl.java:294) at com.sun.javafx.application.PlatformImpl$$Lambda$52/1789447862.run(Unknown Source) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method) at com.sun.glass.ui.gtk.GtkApplication.lambda$null$48(GtkApplication.java:139) at com.sun.glass.ui.gtk.GtkApplication$$Lambda$41/683287027.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) 963 [JavaFX Application Thread] INFO org.reflections.Reflections - Reflections took 945 ms to scan 39 urls, producing 2354 keys and 13095 values Feb 29, 2016 10:23:20 AM com.jme3.system.JmeDesktopSystem initialize INFO: Running on jMonkeyEngine 3.0.10 Feb 29, 2016 10:23:20 AM com.jme3.system.Natives extractNativeLibs INFO: Extraction Directory: /home/joe/Dev/games/MMProto Feb 29, 2016 10:23:21 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo INFO: Lwjgl 2.9.0 context running on thread LWJGL Renderer Thread Feb 29, 2016 10:23:21 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo INFO: Adapter: null Feb 29, 2016 10:23:21 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo INFO: Driver Version: null Feb 29, 2016 10:23:21 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo INFO: Vendor: NVIDIA Corporation Feb 29, 2016 10:23:21 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo INFO: OpenGL Version: 4.5.0 NVIDIA 352.79 Feb 29, 2016 10:23:21 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo INFO: Renderer: GeForce GTX 970/PCIe/SSE2 Feb 29, 2016 10:23:21 AM com.jme3.system.lwjgl.LwjglContext printContextInitInfo INFO: GLSL Ver: 4.50 NVIDIA Feb 29, 2016 10:23:21 AM com.jme3.asset.AssetConfig loadText WARNING: Cannot find loader com.jme3.audio.plugins.OGGLoader Feb 29, 2016 10:23:21 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread INFO: Audio Device: OpenAL Soft Feb 29, 2016 10:23:21 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread INFO: Audio Vendor: OpenAL Community Feb 29, 2016 10:23:21 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread INFO: Audio Renderer: OpenAL Soft Feb 29, 2016 10:23:21 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread INFO: Audio Version: 1.1 ALSOFT 1.15.1 Feb 29, 2016 10:23:21 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread INFO: AudioRenderer supports 64 channels Feb 29, 2016 10:23:21 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread INFO: Audio effect extension version: 1.0 Feb 29, 2016 10:23:21 AM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread INFO: Audio max auxilary sends: 4 :run

BUILD SUCCESSFUL

meltzow commented 8 years ago

no problems/exceptions here. Any more context available?

methusalah commented 8 years ago

here is the source tree : http://pastebin.com/5k8PY9z7. I see nothing wrong. Maybe some writing rights ? the computer is using Linux

meltzow commented 8 years ago

same here. Cant see something wrong. Perhaps it works now? I made a change in build.gradle yesterday. Or perhaps its the "missing" src/main/resources" directory? let him create it manually and run again.