youp911 / quelea-projection

Automatically exported from code.google.com/p/quelea-projection
0 stars 0 forks source link

ArchLinux Quelea not opening but returning Exception error #283

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download quelea from site
2. Installed java8-jdk
3. Install quelea using java -jar quelea-install-file
4. Installer defaults to installation folder: /usr/local/Quelea
5. Run program using java -jar quelea

What is the expected output? What do you see instead?
Expected:
Application to open without errors

Result:
java -jar /usr/local/Quelea/Quelea.jar
Feb 15, 2015 1:18:33 AM org.quelea.services.languages.LabelGrabber <init>
INFO: Using languages file /home/clinton/Downloads/languages/gb.lang
Feb 15, 2015 1:18:33 AM org.quelea.services.utils.Utils getTextFromFile
WARNING: Couldn't get the contents of /home/clinton/Downloads/languages/gb.lang
java.io.FileNotFoundException: /home/clinton/Downloads/languages/gb.lang (No 
such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at java.io.FileInputStream.<init>(FileInputStream.java:93)
    at org.quelea.services.utils.Utils.getTextFromFile(Utils.java:644)
    at org.quelea.services.languages.LabelGrabber.<init>(LabelGrabber.java:56)
    at org.quelea.services.languages.LabelGrabber.<clinit>(LabelGrabber.java:39)
    at org.quelea.windows.splash.SplashStage.<init>(SplashStage.java:56)
    at org.quelea.windows.main.Main.start(Main.java:93)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$153(LauncherImpl.java:821)
    at com.sun.javafx.application.LauncherImpl$$Lambda$56/265628345.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$166(PlatformImpl.java:323)
    at com.sun.javafx.application.PlatformImpl$$Lambda$50/1768305536.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl.lambda$null$164(PlatformImpl.java:292)
    at com.sun.javafx.application.PlatformImpl$$Lambda$52/1196501895.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291)
    at com.sun.javafx.application.PlatformImpl$$Lambda$51/1146743572.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$45(GtkApplication.java:126)
    at com.sun.glass.ui.gtk.GtkApplication$$Lambda$42/379110473.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:745)

Feb 15, 2015 1:18:33 AM org.quelea.services.languages.LabelGrabber <init>
INFO: Setting en-uk locale
Feb 15, 2015 1:18:33 AM org.quelea.services.languages.LabelGrabber getLabel
WARNING: Missing label in language file: loading.text
Feb 15, 2015 1:18:33 AM org.quelea.services.languages.LabelGrabber getLabel
WARNING: Missing label in language file: loading.text
Exception in Application start method
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:363)
    at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:303)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:483)
    at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:875)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$147(LauncherImpl.java:157)
    at com.sun.javafx.application.LauncherImpl$$Lambda$53/200006406.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
    at org.quelea.windows.splash.SplashStage.<init>(SplashStage.java:70)
    at org.quelea.windows.main.Main.start(Main.java:93)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$153(LauncherImpl.java:821)
    at com.sun.javafx.application.LauncherImpl$$Lambda$56/265628345.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$166(PlatformImpl.java:323)
    at com.sun.javafx.application.PlatformImpl$$Lambda$50/1768305536.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl.lambda$null$164(PlatformImpl.java:292)
    at com.sun.javafx.application.PlatformImpl$$Lambda$52/1196501895.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291)
    at com.sun.javafx.application.PlatformImpl$$Lambda$51/1146743572.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$45(GtkApplication.java:126)
    at com.sun.glass.ui.gtk.GtkApplication$$Lambda$42/379110473.run(Unknown Source)
    ... 1 more
Exception running application org.quelea.windows.main.Main

What version of the product are you using? On what operating system?
Quelea version 2015.0
Operating System: Arch Linux

Please provide any additional information below.

System details:

uname -a
Linux 3.18.4-1-ARCH #1 SMP PREEMPT Tue Jan 27 20:45:02 CET 2015 x86_64 GNU/Linux

cat /proc/version 
Linux version 3.18.4-1-ARCH (builduser@tobias) (gcc version 4.9.2 20141224 
(prerelease) (GCC) ) #1 SMP PREEMPT Tue Jan 27 20:45:02 CET 2015

java -version
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

Original issue reported on code.google.com by clintona...@gmail.com on 14 Feb 2015 at 11:21

GoogleCodeExporter commented 8 years ago
Hey,

Correct me if I'm wrong, but it looks like you're running something like

java -jar /usr/local/quelea/Quelea.jar

...from the "/home/clinton/Downloads" directory - hence setting your current 
directory to a different one Quelea is in (and thus Quelea will search for 
everything in the wrong place!)

Try navigating to the folder and launching directly, eg:

"cd /usr/local/Quelea && java -jar quelea.jar"

If that doesn't work then please let me know and I'll look into it further!

Original comment by berry...@gmail.com on 14 Feb 2015 at 11:43

GoogleCodeExporter commented 8 years ago
I'll close this as invalid for now assuming the above is true (just tidying 
tickets up a bit) - if not let me know and I'll happily reopen!

Original comment by berry...@gmail.com on 26 Feb 2015 at 12:36