Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EntityComponent scan made an exception #15

Open
methusalah opened this issue Feb 29, 2016 · 3 comments
Open

EntityComponent scan made an exception #15

methusalah opened this issue Feb 29, 2016 · 3 comments
Assignees
Labels

Comments

@methusalah
Copy link

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
Copy link

meltzow commented Feb 29, 2016

no problems/exceptions here. Any more context available?

@methusalah
Copy link
Author

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

@meltzow
Copy link

meltzow commented Mar 1, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants