Danielku15 / GhostAWT

Run Java Swing/AWT applications on headless environments
MIT License
15 stars 5 forks source link

Run on Qnap with Atom processor #2

Closed Jorman closed 10 years ago

Jorman commented 10 years ago

Hi man, tnx for this piece of art!

Actually I run jd2 on a debian chroot

I want to use your library, but I need some help on configuration phase :) Maybe this discussion can help some other guy, I can make some tests for you, but I need to know the right way :)

What do you think?

J

Danielku15 commented 10 years ago

Hi there.

It should be quite easy to bring GhostAWT to a new platform if there's a GCC and a JDK available for the system. If there's a cross compiler available for your target system you can use that too. For instance the Synology *.so are compiled on a Ubuntu x86.

  1. Install the Java Development Kit on your System. (Needed for the Linux Header Files)
  2. Install GCC on your System.
  3. Compile it with the following commands:
C_INCLUDE_PATH=$JAVA_HOME/include:$JAVA_HOME/include/linux
gcc -shared -o dist/qnap/libawt.so jni/awt.c
gcc -shared -o dist/qnap/libfontmanager.so jni/fontmanager.
Jorman commented 10 years ago

I'm not an expert and I don't know how to compile with java, sorry I've gcc installed but not jkd, only jre, the official qpkg.

If you have some time I can follow some your guideline, if you want

Here my info about your command, like java -XshowSettings:properties -version Property settings: awt.toolkit = sun.awt.HToolkit file.encoding = UTF-8 file.encoding.pkg = sun.io file.separator = / java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment java.awt.headless = true java.awt.printerjob = sun.print.PSPrinterJob java.class.path = . java.class.version = 52.0 java.endorsed.dirs = /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/endorsed java.ext.dirs = /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/ext /usr/java/packages/lib/ext java.home = /share/CACHEDEV1_DATA/.qpkg/JRE/jre java.io.tmpdir = /tmp java.library.path = /usr/java/packages/lib/i386 /lib /usr/lib java.runtime.name = Java(TM) SE Embedded Runtime Environment java.runtime.version = 1.8.0-b132 java.specification.name = Java Platform API Specification java.specification.vendor = Oracle Corporation java.specification.version = 1.8 java.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.version = 1.8.0 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) Embedded Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.8 java.vm.vendor = Oracle Corporation java.vm.version = 25.0-b70 line.separator = \n os.arch = i386 os.name = Linux os.version = 3.4.6 path.separator = : sun.arch.data.model = 32 sun.boot.class.path = /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/resources.jar /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/rt.jar /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/sunrsasign.jar /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/jsse.jar /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/jce.jar /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/charsets.jar /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/jfr.jar /share/CACHEDEV1_DATA/.qpkg/JRE/jre/classes sun.boot.library.path = /share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/i386 sun.cpu.endian = little sun.cpu.isalist = sun.io.unicode.encoding = UnicodeLittle sun.java.launcher = SUN_STANDARD sun.jnu.encoding = UTF-8 sun.management.compiler = HotSpot Server Compiler sun.os.patch.level = unknown user.country = US user.dir = /share/CACHEDEV1_DATA/Public/jd2 user.home = /share/homes/admin user.language = en user.name = admin user.timezone =

java version "1.8.0" Java(TM) SE Embedded Runtime Environment (build 1.8.0-b132, headless) Java HotSpot(TM) Embedded Server VM (build 25.0-b70, mixed mode)

uname -a Linux Qnap 3.4.6 #1 SMP Sun May 4 07:26:15 CST 2014 x86_64 GNU/Linux

Danielku15 commented 10 years ago

The main problem is that only the JDK contains the Header files needed for compiling the libs. But you could try the following:

  1. Download the jni.h and jni_md.h from the following sources and place them in the jni directory of GhostAWT
http://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/share/javavm/export/jni.h
http://hg.openjdk.java.net/jdk8/jdk8/jdk/raw-file/687fd7c7986d/src/solaris/javavm/export/jni_md.h
  1. Compile the libs normally using
gcc -shared -o dist/qnap/libawt.so jni/awt.c
gcc -shared -o dist/qnap/libfontmanager.so jni/fontmanager.c
Jorman commented 10 years ago

Ok, I'll try, but maybe, and it's only a maybe I can install a jdk, I need to search a bit. I think that is possible to install it, and then make a soft link.

Jorman commented 10 years ago

Tried with your suggestion but don't works jni/awt.c:5: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void' jni/awt.c:6: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void' jni/awt.c:7: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void' jni/awt.c:8: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void' jni/awt.c:9: error: expected '=', ',', ';', 'asm' or 'attribute' before 'void' .....

A question for you, Java SE can be right for this proces? Or I need only jdk. Ps, I found this http://download.oracle.com/otn/java/ejdk/8-b132/ejdk-8-fcs-b132-linux-i586-03_mar_2014.tar.gz But I don't know if can be ok, and I need to "install" it in some way, maybe with some soft link, I think.

Jorman commented 10 years ago

Some little improvement I installed jdk in my debian chroot, I think that is better, but maybe I wrong.

java -XshowSettings:properties -version Property settings: awt.toolkit = sun.awt.X11.XToolkit file.encoding = UTF-8 file.encoding.pkg = sun.io file.separator = / java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment java.awt.printerjob = sun.print.PSPrinterJob java.class.path = . java.class.version = 52.0 java.endorsed.dirs = /usr/local/java/jdk1.8.0_05/jre/lib/endorsed java.ext.dirs = /usr/local/java/jdk1.8.0_05/jre/lib/ext /usr/java/packages/lib/ext java.home = /usr/local/java/jdk1.8.0_05/jre java.io.tmpdir = /tmp java.library.path = /usr/java/packages/lib/i386 /lib /usr/lib java.runtime.name = Java(TM) SE Runtime Environment java.runtime.version = 1.8.0_05-b13 java.specification.name = Java Platform API Specification java.specification.vendor = Oracle Corporation java.specification.version = 1.8 java.vendor = Oracle Corporation java.vendor.url = http://java.oracle.com/ java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.version = 1.8.0_05 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) Server VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Oracle Corporation java.vm.specification.version = 1.8 java.vm.vendor = Oracle Corporation java.vm.version = 25.5-b02 line.separator = \n os.arch = i386 os.name = Linux os.version = 3.4.6 path.separator = : sun.arch.data.model = 32 sun.boot.class.path = /usr/local/java/jdk1.8.0_05/jre/lib/resources.jar /usr/local/java/jdk1.8.0_05/jre/lib/rt.jar /usr/local/java/jdk1.8.0_05/jre/lib/sunrsasign.jar /usr/local/java/jdk1.8.0_05/jre/lib/jsse.jar /usr/local/java/jdk1.8.0_05/jre/lib/jce.jar /usr/local/java/jdk1.8.0_05/jre/lib/charsets.jar /usr/local/java/jdk1.8.0_05/jre/lib/jfr.jar /usr/local/java/jdk1.8.0_05/jre/classes sun.boot.library.path = /usr/local/java/jdk1.8.0_05/jre/lib/i386 sun.cpu.endian = little sun.cpu.isalist = sun.io.unicode.encoding = UnicodeLittle sun.java.launcher = SUN_STANDARD sun.jnu.encoding = UTF-8 sun.management.compiler = HotSpot Tiered Compilers sun.os.patch.level = unknown user.country = US user.dir = /root/test/GhostAWT user.home = /root user.language = en user.name = root user.timezone =

java version "1.8.0_05" Java(TM) SE Runtime Environment (build 1.8.0_05-b13) Java HotSpot(TM) Server VM (build 25.5-b02, mixed mode)

Now if I try to compile with gcc I've some error gcc -shared -o dist/qnap/libawt.so jni/awt.c In file included from jni/awt.h:4:0, from jni/awt.c:1: jni/commons.h:4:17: fatal error: jni.h: No such file or directory compilation terminated. root@Qnap:~/test/GhostAWT# gcc -shared -o dist/qnap/libfontmanager.so jni/fontmanager.c In file included from jni/fontmanager.h:4:0, from jni/fontmanager.c:2: jni/commons.h:4:17: fatal error: jni.h: No such file or directory compilation terminated.

Seems that don't find jni.h, but is "wrong", look at this: echo $JAVA_HOME /usr/local/java/jdk1.8.0_05

echo $C_INCLUDE_PATH /usr/local/java/jdk1.8.0_05/include:/usr/local/java/jdk1.8.0_05/include/linux

echo $CPLUS_INCLUDE_PATH /usr/local/java/jdk1.8.0_05/include:/usr/local/java/jdk1.8.0_05/include/linux

echo $PATH /opt/bin:/opt/sbin:/share/CACHEDEV1_DATA/.qpkg/Optware/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin:/usr/local/jre/bin:/root/bin:/usr/local/java/jdk1.8.0_05/bin

Any idea?

Jorman commented 10 years ago

Ok, compiled for qnap, but I've some error on start. See you soon, after your master!

Danielku15 commented 10 years ago

It looks like I didn't read your issue well enough. For some weird reason I thought that Qnap has some sort of Arm processor (looks like I misread Atom as Arm all the time) Sorry for that :laughing:

I just digged into the Java properties you posted. In my opinion the normal linux32 binary shipped with GhostAWT should work on your system since it's a normal i386 Intel Atom CPU. Maybe you can try to start jd2 with the linux32 binary and post the output here?

Just copy GhostAWT to the libs folder of jd2 and start it with something like:

java -Dghostawt.library.path=libs/ghostawt/linux32 -cp "./*:libs/*:libs/ghostawt/*" ghostawt.GhostRunner org.jdownloader.startup.Main 
Jorman commented 10 years ago

Yepppp, is a normal 32bit, command executed inside a jd2 dir and this is the output

java -Dghostawt.library.path=libs/ghostawt/linux32 -cp "./:libs/:libs/ghostawt/" ghostawt.GhostRunner org.jdownloader.startup.Main x32 -cp "./:libs/:libs/ghostawt/" ghostawt.GhostRunner org.jdownloader.star Application Root: /share/CACHEDEV1_DATA/Public/jd2 (jared) class jd.SecondLevelLaunch sun.Desktop: null XDG_CURRENT_DESKTOP: null GNOME_DESKTOP_SESSION_ID: null KDE_FULL_SESSION: null DESKTOP_SESSION: null java.lang.ClassCastException: java.util.logging.LogManager cannot be cast to org.jdownloader.logging.ExtLogManager at org.jdownloader.startup.Main.(Main.java:94) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:259) at ghostawt.GhostRunner.main(Unknown Source) Logmanager: java.util.logging.LogManager@163e9ab java.lang.IllegalAccessException: Can not set static final java.util.logging.LogManager field java.util.logging.LogManager.manager to org.jdownloader.logging.ExtLogManager at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:76) at sun.reflect.UnsafeFieldAccessorImpl.throwFinalFieldIllegalAccessException(UnsafeFieldAccessorImpl.java:80) at sun.reflect.UnsafeQualifiedStaticObjectFieldAccessorImpl.set(UnsafeQualifiedStaticObjectFieldAccessorImpl.java:77) at java.lang.reflect.Field.set(Field.java:758) at org.jdownloader.startup.Main.(Main.java:113) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:259) at ghostawt.GhostRunner.main(Unknown Source)

THREAD: 1 1|StartupParameterHandler.log 7/4/14 8:04:00 PM - INFO [ org.jdownloader.startup.ParameterHandler(onStartup) ] -> Startup: [] 1|org.jdownloader.updatev2.restart.LinuxRestarter.log 7/4/14 8:04:00 PM - INFO [ org.jdownloader.updatev2.restart.Restarter() ] -> Create Restarter 1|StartupParameterHandler.log 7/4/14 8:04:01 PM - INFO [ org.jdownloader.startup.ParameterHandler(onStartup) ] -> Remove ConsoleHandler java.lang.NoSuchFieldException: awtAppClassName at java.lang.Class.getDeclaredField(Class.java:2057) at jd.SecondLevelLaunch.mainStart(SecondLevelLaunch.java:298) at org.jdownloader.startup.Main.main(Main.java:294) 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 ghostawt.GhostRunner.main(Unknown Source) lug 04, 2014 8:04:02 PM org.appwork.storage.JsonKeyValueStorage INFORMAZIONI: Prefer (merged) JSon Storage from File: /share/CACHEDEV1_DATA/Public/jd2/cfg/org.jdownloader.settings.GeneralSettings.json lug 04, 2014 8:04:02 PM org.appwork.storage.JsonKeyValueStorage INFORMAZIONI: Utils>BlockingEDT.log>Prefer (merged) JSon Storage from File: /share/CACHEDEV1_DATA/Public/jd2/cfg/org.jdownloader.settings.SilentModeSettings.json lug 04, 2014 8:04:02 PM org.appwork.swing.synthetica.SyntheticaHelper init INFORMAZIONI: Utils>JDownloader.log>LaF init: org.jdownloader.gui.laf.jddefault.JDDefaultLookAndFeel lug 04, 2014 8:04:02 PM org.appwork.storage.JsonKeyValueStorage INFORMAZIONI: Utils>JDownloader.log>Prefer (merged) JSon Storage from File: /share/CACHEDEV1_DATA/Public/jd2/cfg/org.appwork.swing.synthetica.SyntheticaSettings.json lug 04, 2014 8:04:02 PM org.appwork.storage.JsonKeyValueStorage INFORMAZIONI: Utils>GlobalBrowser.log>Prefer (merged) JSon Storage from File: /share/CACHEDEV1_DATA/Public/jd2/cfg/org.jdownloader.settings.InternetConnectionSettings.json lug 04, 2014 8:04:03 PM org.appwork.swing.synthetica.SyntheticaHelper init INFORMAZIONI: Utils>JDownloader.log>LAF Init duration: 1009ms lug 04, 2014 8:04:04 PM org.appwork.storage.JsonKeyValueStorage INFORMAZIONI: Utils>org.jdownloader.updatev2.UpdateController.log>Prefer (merged) JSon Storage from File: /share/CACHEDEV1_DATA/Public/jd2/cfg/org.jdownloader.updatev2.UpdateSettings.json 635 Enabling platform font metrics for win32. This is an unsupported option. This yields incorrect composite font metrics as reported by 1.1.x releases. It is appropriate only for use by applications which do not use any Java 2 functionality. This property will be removed in a later release. Font Manager Created Could not load arial font java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.nio.file.Files.copy(Files.java:2981) at ghostawt.sun.GFontManager.loadDefault(Unknown Source) at ghostawt.sun.GFontManager.getDefaultPhysicalFont(Unknown Source) at ghostawt.sun.GFontManager.findFont2D(Unknown Source) at java.awt.Font.getFont2D(Font.java:500) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:357) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1039) at javax.swing.JComponent.getFontMetrics(JComponent.java:1623) at javax.swing.text.PlainView.calculateLongestLine(PlainView.java:639) at javax.swing.text.PlainView.updateMetrics(PlainView.java:209) at javax.swing.text.PlainView.updateDamage(PlainView.java:527) at javax.swing.text.PlainView.insertUpdate(PlainView.java:451) at javax.swing.text.FieldView.insertUpdate(FieldView.java:293) at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1610) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1869) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669) at javax.swing.text.JTextComponent.setText(JTextComponent.java:1712) at javax.swing.JFormattedTextField$AbstractFormatter.install(JFormattedTextField.java:949) at javax.swing.text.DefaultFormatter.install(DefaultFormatter.java:125) at javax.swing.text.InternationalFormatter.install(InternationalFormatter.java:285) at javax.swing.JFormattedTextField.setFormatter(JFormattedTextField.java:465) at javax.swing.JFormattedTextField.setValue(JFormattedTextField.java:789) at javax.swing.JFormattedTextField.setValue(JFormattedTextField.java:502) at javax.swing.JSpinner$DefaultEditor.(JSpinner.java:626) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1209) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1185) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1160) at javax.swing.JSpinner.createEditor(JSpinner.java:252) at javax.swing.JSpinner.(JSpinner.java:158) at org.appwork.swing.components.ExtSpinner.(ExtSpinner.java:36) at jd.gui.swing.jdgui.menu.ChunksEditor.(ChunksEditor.java:36) at jd.gui.swing.jdgui.menu.ChunksEditor.(ChunksEditor.java:28) at org.jdownloader.gui.mainmenu.ChunksEditorLink.createItem(ChunksEditorLink.java:26) at org.jdownloader.controlling.contextmenu.MenuItemData.addTo(MenuItemData.java:277) at jd.gui.swing.jdgui.menu.JDMenuBar$1.addAction(JDMenuBar.java:92) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.createLayer(MenuBuilder.java:92) at jd.gui.swing.jdgui.menu.JDMenuBar$1.addContainer(JDMenuBar.java:75) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.createLayer(MenuBuilder.java:96) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder$1.runInEDT(MenuBuilder.java:133) at org.appwork.utils.swing.EDTRunner.edtRun(EDTRunner.java:18) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:100) at org.appwork.utils.swing.EDTRunner.(EDTRunner.java:13) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder$1.(MenuBuilder.java:129) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.run(MenuBuilder.java:129) at jd.gui.swing.jdgui.menu.JDMenuBar.updateLayout(JDMenuBar.java:65) at jd.gui.swing.jdgui.menu.JDMenuBar.(JDMenuBar.java:48) at jd.gui.swing.jdgui.menu.JDMenuBar.(JDMenuBar.java:29) at jd.gui.swing.jdgui.JDGui.initComponents(JDGui.java:504) at jd.gui.swing.jdgui.JDGui.(JDGui.java:233) at jd.gui.swing.jdgui.JDGui.(JDGui.java:145) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1797) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1793) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.waitForEDT(EDTHelper.java:126) at org.appwork.utils.swing.EDTHelper.getReturnValue(EDTHelper.java:73) at jd.gui.swing.jdgui.JDGui.init(JDGui.java:1793) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:928) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:902) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Could not load arial font java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.nio.file.Files.copy(Files.java:2981) at ghostawt.sun.GFontManager.loadDefault(Unknown Source) at ghostawt.sun.GFontManager.getDefaultPhysicalFont(Unknown Source) at ghostawt.sun.GFontManager.findFont2D(Unknown Source) at java.awt.Font.getFont2D(Font.java:500) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:357) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1039) at javax.swing.JComponent.getFontMetrics(JComponent.java:1623) at javax.swing.text.PlainView.calculateLongestLine(PlainView.java:639) at javax.swing.text.PlainView.updateMetrics(PlainView.java:209) at javax.swing.text.PlainView.updateDamage(PlainView.java:527) at javax.swing.text.PlainView.insertUpdate(PlainView.java:451) at javax.swing.text.FieldView.insertUpdate(FieldView.java:293) at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1610) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1869) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669) at javax.swing.text.JTextComponent.setText(JTextComponent.java:1712) at javax.swing.JFormattedTextField$AbstractFormatter.install(JFormattedTextField.java:949) at javax.swing.text.DefaultFormatter.install(DefaultFormatter.java:125) at javax.swing.text.InternationalFormatter.install(InternationalFormatter.java:285) at javax.swing.JFormattedTextField.setFormatter(JFormattedTextField.java:465) at javax.swing.JFormattedTextField.setValue(JFormattedTextField.java:789) at javax.swing.JFormattedTextField.setValue(JFormattedTextField.java:502) at javax.swing.JSpinner$DefaultEditor.(JSpinner.java:626) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1209) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1185) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1160) at javax.swing.JSpinner.createEditor(JSpinner.java:252) at javax.swing.JSpinner.(JSpinner.java:158) at org.appwork.swing.components.ExtSpinner.(ExtSpinner.java:36) at jd.gui.swing.jdgui.menu.ParalellDownloadsEditor.(ParalellDownloadsEditor.java:33) at jd.gui.swing.jdgui.menu.ParalellDownloadsEditor.(ParalellDownloadsEditor.java:26) at org.jdownloader.gui.mainmenu.ParalellDownloadsEditorLink.createItem(ParalellDownloadsEditorLink.java:26) at org.jdownloader.controlling.contextmenu.MenuItemData.addTo(MenuItemData.java:277) at jd.gui.swing.jdgui.menu.JDMenuBar$1.addAction(JDMenuBar.java:92) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.createLayer(MenuBuilder.java:92) at jd.gui.swing.jdgui.menu.JDMenuBar$1.addContainer(JDMenuBar.java:75) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.createLayer(MenuBuilder.java:96) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder$1.runInEDT(MenuBuilder.java:133) at org.appwork.utils.swing.EDTRunner.edtRun(EDTRunner.java:18) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:100) at org.appwork.utils.swing.EDTRunner.(EDTRunner.java:13) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder$1.(MenuBuilder.java:129) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.run(MenuBuilder.java:129) at jd.gui.swing.jdgui.menu.JDMenuBar.updateLayout(JDMenuBar.java:65) at jd.gui.swing.jdgui.menu.JDMenuBar.(JDMenuBar.java:48) at jd.gui.swing.jdgui.menu.JDMenuBar.(JDMenuBar.java:29) at jd.gui.swing.jdgui.JDGui.initComponents(JDGui.java:504) at jd.gui.swing.jdgui.JDGui.(JDGui.java:233) at jd.gui.swing.jdgui.JDGui.(JDGui.java:145) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1797) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1793) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.waitForEDT(EDTHelper.java:126) at org.appwork.utils.swing.EDTHelper.getReturnValue(EDTHelper.java:73) at jd.gui.swing.jdgui.JDGui.init(JDGui.java:1793) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:928) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:902) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Could not load arial font java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.nio.file.Files.copy(Files.java:2981) at ghostawt.sun.GFontManager.loadDefault(Unknown Source) at ghostawt.sun.GFontManager.getDefaultPhysicalFont(Unknown Source) at ghostawt.sun.GFontManager.findFont2D(Unknown Source) at java.awt.Font.getFont2D(Font.java:500) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:357) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1039) at javax.swing.JComponent.getFontMetrics(JComponent.java:1623) at javax.swing.text.PlainView.calculateLongestLine(PlainView.java:639) at javax.swing.text.PlainView.updateMetrics(PlainView.java:209) at javax.swing.text.PlainView.updateDamage(PlainView.java:527) at javax.swing.text.PlainView.insertUpdate(PlainView.java:451) at javax.swing.text.FieldView.insertUpdate(FieldView.java:293) at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1610) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1869) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669) at javax.swing.text.JTextComponent.setText(JTextComponent.java:1712) at javax.swing.JFormattedTextField$AbstractFormatter.install(JFormattedTextField.java:949) at javax.swing.text.DefaultFormatter.install(DefaultFormatter.java:125) at javax.swing.text.InternationalFormatter.install(InternationalFormatter.java:285) at javax.swing.JFormattedTextField.setFormatter(JFormattedTextField.java:465) at javax.swing.JFormattedTextField.setValue(JFormattedTextField.java:789) at javax.swing.JFormattedTextField.setValue(JFormattedTextField.java:502) at javax.swing.JSpinner$DefaultEditor.(JSpinner.java:626) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1209) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1185) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1160) at javax.swing.JSpinner.createEditor(JSpinner.java:252) at javax.swing.JSpinner.(JSpinner.java:158) at org.appwork.swing.components.ExtSpinner.(ExtSpinner.java:36) at jd.gui.swing.jdgui.menu.ParallelDownloadsPerHostEditor.(ParallelDownloadsPerHostEditor.java:38) at jd.gui.swing.jdgui.menu.ParallelDownloadsPerHostEditor.(ParallelDownloadsPerHostEditor.java:30) at org.jdownloader.gui.mainmenu.ParallelDownloadsPerHostEditorLink.createItem(ParallelDownloadsPerHostEditorLink.java:25) at org.jdownloader.controlling.contextmenu.MenuItemData.addTo(MenuItemData.java:277) at jd.gui.swing.jdgui.menu.JDMenuBar$1.addAction(JDMenuBar.java:92) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.createLayer(MenuBuilder.java:92) at jd.gui.swing.jdgui.menu.JDMenuBar$1.addContainer(JDMenuBar.java:75) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.createLayer(MenuBuilder.java:96) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder$1.runInEDT(MenuBuilder.java:133) at org.appwork.utils.swing.EDTRunner.edtRun(EDTRunner.java:18) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:100) at org.appwork.utils.swing.EDTRunner.(EDTRunner.java:13) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder$1.(MenuBuilder.java:129) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.run(MenuBuilder.java:129) at jd.gui.swing.jdgui.menu.JDMenuBar.updateLayout(JDMenuBar.java:65) at jd.gui.swing.jdgui.menu.JDMenuBar.(JDMenuBar.java:48) at jd.gui.swing.jdgui.menu.JDMenuBar.(JDMenuBar.java:29) at jd.gui.swing.jdgui.JDGui.initComponents(JDGui.java:504) at jd.gui.swing.jdgui.JDGui.(JDGui.java:233) at jd.gui.swing.jdgui.JDGui.(JDGui.java:145) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1797) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1793) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.waitForEDT(EDTHelper.java:126) at org.appwork.utils.swing.EDTHelper.getReturnValue(EDTHelper.java:73) at jd.gui.swing.jdgui.JDGui.init(JDGui.java:1793) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:928) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:902) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Could not load arial font java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.nio.file.Files.copy(Files.java:2981) at ghostawt.sun.GFontManager.loadDefault(Unknown Source) at ghostawt.sun.GFontManager.getDefaultPhysicalFont(Unknown Source) at ghostawt.sun.GFontManager.findFont2D(Unknown Source) at java.awt.Font.getFont2D(Font.java:500) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:357) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1039) at javax.swing.JComponent.getFontMetrics(JComponent.java:1623) at javax.swing.text.PlainView.calculateLongestLine(PlainView.java:639) at javax.swing.text.PlainView.updateMetrics(PlainView.java:209) at javax.swing.text.PlainView.updateDamage(PlainView.java:527) at javax.swing.text.PlainView.insertUpdate(PlainView.java:451) at javax.swing.text.FieldView.insertUpdate(FieldView.java:293) at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1610) at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1869) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201) at javax.swing.text.AbstractDocument.handleInsertString(AbstractDocument.java:748) at javax.swing.text.AbstractDocument.insertString(AbstractDocument.java:707) at javax.swing.text.PlainDocument.insertString(PlainDocument.java:130) at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:669) at javax.swing.text.JTextComponent.setText(JTextComponent.java:1712) at javax.swing.JFormattedTextField$AbstractFormatter.install(JFormattedTextField.java:949) at javax.swing.text.DefaultFormatter.install(DefaultFormatter.java:125) at javax.swing.text.InternationalFormatter.install(InternationalFormatter.java:285) at javax.swing.JFormattedTextField.setFormatter(JFormattedTextField.java:465) at javax.swing.JFormattedTextField.setValue(JFormattedTextField.java:789) at javax.swing.JFormattedTextField.setValue(JFormattedTextField.java:502) at javax.swing.JSpinner$DefaultEditor.(JSpinner.java:626) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1209) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1185) at javax.swing.JSpinner$NumberEditor.(JSpinner.java:1160) at javax.swing.JSpinner.createEditor(JSpinner.java:252) at javax.swing.JSpinner.(JSpinner.java:158) at org.appwork.swing.components.ExtSpinner.(ExtSpinner.java:36) at org.appwork.swing.components.SizeSpinner.(SizeSpinner.java:38) at jd.gui.swing.jdgui.menu.SpeedlimitEditor$2.(SpeedlimitEditor.java:66) at jd.gui.swing.jdgui.menu.SpeedlimitEditor.(SpeedlimitEditor.java:49) at jd.gui.swing.jdgui.menu.SpeedlimitEditor.(SpeedlimitEditor.java:39) at org.jdownloader.gui.mainmenu.SpeedlimitEditorLink.createItem(SpeedlimitEditorLink.java:25) at org.jdownloader.controlling.contextmenu.MenuItemData.addTo(MenuItemData.java:277) at jd.gui.swing.jdgui.menu.JDMenuBar$1.addAction(JDMenuBar.java:92) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.createLayer(MenuBuilder.java:92) at jd.gui.swing.jdgui.menu.JDMenuBar$1.addContainer(JDMenuBar.java:75) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.createLayer(MenuBuilder.java:96) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder$1.runInEDT(MenuBuilder.java:133) at org.appwork.utils.swing.EDTRunner.edtRun(EDTRunner.java:18) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:100) at org.appwork.utils.swing.EDTRunner.(EDTRunner.java:13) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder$1.(MenuBuilder.java:129) at org.jdownloader.controlling.contextmenu.gui.MenuBuilder.run(MenuBuilder.java:129) at jd.gui.swing.jdgui.menu.JDMenuBar.updateLayout(JDMenuBar.java:65) at jd.gui.swing.jdgui.menu.JDMenuBar.(JDMenuBar.java:48) at jd.gui.swing.jdgui.menu.JDMenuBar.(JDMenuBar.java:29) at jd.gui.swing.jdgui.JDGui.initComponents(JDGui.java:504) at jd.gui.swing.jdgui.JDGui.(JDGui.java:233) at jd.gui.swing.jdgui.JDGui.(JDGui.java:145) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1797) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1793) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.waitForEDT(EDTHelper.java:126) at org.appwork.utils.swing.EDTHelper.getReturnValue(EDTHelper.java:73) at jd.gui.swing.jdgui.JDGui.init(JDGui.java:1793) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:928) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:902) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) lug 04, 2014 8:04:06 PM org.appwork.storage.JsonKeyValueStorage INFORMAZIONI: Utils>org.jdownloader.controlling.download.DownloadControllerEventSender.log>Prefer (merged) JSon Storage from File: /share/CACHEDEV1_DATA/Public/jd2/cfg/ExtTooltipSettings_default.json lug 04, 2014 8:04:06 PM org.appwork.storage.JsonKeyValueStorage INFORMAZIONI: Utils>jd.controlling.downloadcontroller.DownloadWatchDog.log>Prefer (merged) JSon Storage from File: /share/CACHEDEV1_DATA/Public/jd2/cfg/jd.controlling.captcha.CaptchaSettings.json lug 04, 2014 8:04:06 PM org.appwork.storage.JsonKeyValueStorage INFORMAZIONI: Utils>jd.controlling.downloadcontroller.DownloadWatchDog.log>Prefer (merged) JSon Storage from File: /share/CACHEDEV1_DATA/Public/jd2/cfg/jd.controlling.reconnect.ReconnectConfig.json Could not load arial font java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.nio.file.Files.copy(Files.java:2981) at ghostawt.sun.GFontManager.loadDefault(Unknown Source) at ghostawt.sun.GFontManager.getDefaultPhysicalFont(Unknown Source) at ghostawt.sun.GFontManager.findFont2D(Unknown Source) at java.awt.Font.getFont2D(Font.java:500) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:357) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1039) at javax.swing.JComponent.getFontMetrics(JComponent.java:1623) at org.jdownloader.gui.views.downloads.columns.ProgressColumn.(ProgressColumn.java:48) at org.jdownloader.gui.views.downloads.table.DownloadsTableModel.initColumns(DownloadsTableModel.java:75) at org.appwork.swing.exttable.ExtTableModel.initModel(ExtTableModel.java:765) at org.appwork.swing.exttable.ExtTableModel.(ExtTableModel.java:110) at org.jdownloader.gui.views.components.packagetable.PackageControllerTableModel.(PackageControllerTableModel.java:100) at org.jdownloader.gui.views.downloads.table.DownloadsTableModel.(DownloadsTableModel.java:53) at org.jdownloader.gui.views.downloads.table.DownloadsTableModel.(DownloadsTableModel.java:36) at org.jdownloader.gui.views.downloads.DownloadsPanel.(DownloadsPanel.java:115) at org.jdownloader.gui.views.downloads.DownloadsView.(DownloadsView.java:16) at jd.gui.swing.jdgui.JDGui.initComponents(JDGui.java:511) at jd.gui.swing.jdgui.JDGui.(JDGui.java:233) at jd.gui.swing.jdgui.JDGui.(JDGui.java:145) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1797) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1793) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.waitForEDT(EDTHelper.java:126) at org.appwork.utils.swing.EDTHelper.getReturnValue(EDTHelper.java:73) at jd.gui.swing.jdgui.JDGui.init(JDGui.java:1793) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:928) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:902) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) lug 04, 2014 8:04:06 PM org.appwork.utils.swing.EDTHelper.run EDTHelper.java:93 GRAVE: Utils>jd.controlling.downloadcontroller.DownloadWatchDog.log>SEVERE Exception occurred java.lang.ExceptionInInitializerError at org.jdownloader.gui.views.downloads.DownloadsPanel.(DownloadsPanel.java:115) at org.jdownloader.gui.views.downloads.DownloadsView.(DownloadsView.java:16) at jd.gui.swing.jdgui.JDGui.initComponents(JDGui.java:511) at jd.gui.swing.jdgui.JDGui.(JDGui.java:233) at jd.gui.swing.jdgui.JDGui.(JDGui.java:145) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1797) at jd.gui.swing.jdgui.JDGui$34.edtRun(JDGui.java:1793) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at org.appwork.utils.swing.EDTHelper.start(EDTHelper.java:112) at org.appwork.utils.swing.EDTHelper.waitForEDT(EDTHelper.java:126) at org.appwork.utils.swing.EDTHelper.getReturnValue(EDTHelper.java:73) at jd.gui.swing.jdgui.JDGui.init(JDGui.java:1793) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:928) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:902) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.NullPointerException at java.awt.Font.getFont2D(Font.java:500) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:357) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1039) at javax.swing.JComponent.getFontMetrics(JComponent.java:1623) at org.jdownloader.gui.views.downloads.columns.ProgressColumn.(ProgressColumn.java:48) at org.jdownloader.gui.views.downloads.table.DownloadsTableModel.initColumns(DownloadsTableModel.java:75) at org.appwork.swing.exttable.ExtTableModel.initModel(ExtTableModel.java:765) at org.appwork.swing.exttable.ExtTableModel.(ExtTableModel.java:110) at org.jdownloader.gui.views.components.packagetable.PackageControllerTableModel.(PackageControllerTableModel.java:100) at org.jdownloader.gui.views.downloads.table.DownloadsTableModel.(DownloadsTableModel.java:53) at org.jdownloader.gui.views.downloads.table.DownloadsTableModel.(DownloadsTableModel.java:36) ... 29 more

lug 04, 2014 8:04:07 PM org.appwork.utils.swing.dialog.AbstractDialog displayDialog INFORMAZIONI: Utils>JDownloader.log>Display Dialog: dialog_Exception_occured_An_unexpected_error_occured_JDownloader_will_try_to_fix_thisIf_this_happens_again__please_contact_oursupport Could not load arial font java.lang.NullPointerException at java.util.Objects.requireNonNull(Objects.java:203) at java.nio.file.Files.copy(Files.java:2981) at ghostawt.sun.GFontManager.loadDefault(Unknown Source) at ghostawt.sun.GFontManager.getDefaultPhysicalFont(Unknown Source) at ghostawt.sun.GFontManager.findFont2D(Unknown Source) at java.awt.Font.getFont2D(Font.java:500) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:357) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1039) at javax.swing.JComponent.getFontMetrics(JComponent.java:1623) at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(BasicGraphicsUtils.java:276) at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(BasicButtonUI.java:376) at javax.swing.plaf.basic.BasicButtonUI.getMaximumSize(BasicButtonUI.java:380) at javax.swing.JComponent.getMaximumSize(JComponent.java:1701) at net.miginfocom.swing.SwingComponentWrapper.getLayoutHashCode(Unknown Source) at net.miginfocom.swing.MigLayout.checkCache(Unknown Source) at net.miginfocom.swing.MigLayout.getSizeImpl(Unknown Source) at net.miginfocom.swing.MigLayout.preferredLayoutSize(Unknown Source) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at net.miginfocom.swing.SwingComponentWrapper.getLayoutHashCode(Unknown Source) at net.miginfocom.swing.MigLayout.checkCache(Unknown Source) at net.miginfocom.swing.MigLayout.getSizeImpl(Unknown Source) at net.miginfocom.swing.MigLayout.preferredLayoutSize(Unknown Source) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at net.miginfocom.swing.SwingComponentWrapper.getLayoutHashCode(Unknown Source) at net.miginfocom.swing.MigLayout.checkCache(Unknown Source) at net.miginfocom.swing.MigLayout.getSizeImpl(Unknown Source) at net.miginfocom.swing.MigLayout.preferredLayoutSize(Unknown Source) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:920) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at org.appwork.utils.swing.dialog.InternDialog.getRawPreferredSize(InternDialog.java:116) at org.appwork.utils.swing.dialog.AbstractDialog.getRawPreferredSize(AbstractDialog.java:1096) at org.appwork.utils.swing.dialog.AbstractDialog.getPreferredSize(AbstractDialog.java:1060) at org.appwork.utils.swing.dialog.InternDialog.getPreferredSize(InternDialog.java:110) at java.awt.Window.pack(Window.java:809) at org.appwork.utils.swing.dialog.AbstractDialog.pack(AbstractDialog.java:1345) at org.appwork.utils.swing.dialog.AbstractDialog._init(AbstractDialog.java:477) at org.appwork.utils.swing.dialog.AbstractDialog.displayDialog(AbstractDialog.java:722) at org.appwork.utils.swing.dialog.Dialog.showDialogRawInEDT(Dialog.java:518) at org.appwork.utils.swing.dialog.Dialog.showDialogRaw(Dialog.java:509) at org.appwork.utils.swing.dialog.Dialog.showDialog(Dialog.java:497) at org.appwork.utils.swing.dialog.Dialog.showExceptionDialog(Dialog.java:625) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:936) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:902) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) lug 04, 2014 8:04:07 PM org.appwork.utils.swing.EDTHelper.run EDTHelper.java:90 GRAVE: Utils>JDownloader.log>SEVERE Exception occurred java.lang.NullPointerException at java.awt.Font.getFont2D(Font.java:500) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:357) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1039) at javax.swing.JComponent.getFontMetrics(JComponent.java:1623) at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(BasicGraphicsUtils.java:276) at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(BasicButtonUI.java:376) at javax.swing.plaf.basic.BasicButtonUI.getMaximumSize(BasicButtonUI.java:380) at javax.swing.JComponent.getMaximumSize(JComponent.java:1701) at net.miginfocom.swing.SwingComponentWrapper.getLayoutHashCode(Unknown Source) at net.miginfocom.swing.MigLayout.checkCache(Unknown Source) at net.miginfocom.swing.MigLayout.getSizeImpl(Unknown Source) at net.miginfocom.swing.MigLayout.preferredLayoutSize(Unknown Source) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at net.miginfocom.swing.SwingComponentWrapper.getLayoutHashCode(Unknown Source) at net.miginfocom.swing.MigLayout.checkCache(Unknown Source) at net.miginfocom.swing.MigLayout.getSizeImpl(Unknown Source) at net.miginfocom.swing.MigLayout.preferredLayoutSize(Unknown Source) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at net.miginfocom.swing.SwingComponentWrapper.getLayoutHashCode(Unknown Source) at net.miginfocom.swing.MigLayout.checkCache(Unknown Source) at net.miginfocom.swing.MigLayout.getSizeImpl(Unknown Source) at net.miginfocom.swing.MigLayout.preferredLayoutSize(Unknown Source) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:920) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at org.appwork.utils.swing.dialog.InternDialog.getRawPreferredSize(InternDialog.java:116) at org.appwork.utils.swing.dialog.AbstractDialog.getRawPreferredSize(AbstractDialog.java:1096) at org.appwork.utils.swing.dialog.AbstractDialog.getPreferredSize(AbstractDialog.java:1060) at org.appwork.utils.swing.dialog.InternDialog.getPreferredSize(InternDialog.java:110) at java.awt.Window.pack(Window.java:809) at org.appwork.utils.swing.dialog.AbstractDialog.pack(AbstractDialog.java:1345) at org.appwork.utils.swing.dialog.AbstractDialog._init(AbstractDialog.java:477) at org.appwork.utils.swing.dialog.AbstractDialog.displayDialog(AbstractDialog.java:722) at org.appwork.utils.swing.dialog.Dialog.showDialogRawInEDT(Dialog.java:518) at org.appwork.utils.swing.dialog.Dialog.showDialogRaw(Dialog.java:509) at org.appwork.utils.swing.dialog.Dialog.showDialog(Dialog.java:497) at org.appwork.utils.swing.dialog.Dialog.showExceptionDialog(Dialog.java:625) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:936) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:902) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Could not call main method in main class 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 ghostawt.GhostRunner.main(Unknown Source) Caused by: java.lang.NullPointerException at java.awt.Font.getFont2D(Font.java:500) at java.awt.Font.access$000(Font.java:224) at java.awt.Font$FontAccessImpl.getFont2D(Font.java:228) at sun.font.FontUtilities.getFont2D(FontUtilities.java:180) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:357) at sun.font.FontDesignMetrics.(FontDesignMetrics.java:350) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1039) at javax.swing.JComponent.getFontMetrics(JComponent.java:1623) at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(BasicGraphicsUtils.java:276) at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(BasicButtonUI.java:376) at javax.swing.plaf.basic.BasicButtonUI.getMaximumSize(BasicButtonUI.java:380) at javax.swing.JComponent.getMaximumSize(JComponent.java:1701) at net.miginfocom.swing.SwingComponentWrapper.getLayoutHashCode(Unknown Source) at net.miginfocom.swing.MigLayout.checkCache(Unknown Source) at net.miginfocom.swing.MigLayout.getSizeImpl(Unknown Source) at net.miginfocom.swing.MigLayout.preferredLayoutSize(Unknown Source) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at net.miginfocom.swing.SwingComponentWrapper.getLayoutHashCode(Unknown Source) at net.miginfocom.swing.MigLayout.checkCache(Unknown Source) at net.miginfocom.swing.MigLayout.getSizeImpl(Unknown Source) at net.miginfocom.swing.MigLayout.preferredLayoutSize(Unknown Source) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at net.miginfocom.swing.SwingComponentWrapper.getLayoutHashCode(Unknown Source) at net.miginfocom.swing.MigLayout.checkCache(Unknown Source) at net.miginfocom.swing.MigLayout.getSizeImpl(Unknown Source) at net.miginfocom.swing.MigLayout.preferredLayoutSize(Unknown Source) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at javax.swing.JRootPane$RootLayout.preferredLayoutSize(JRootPane.java:920) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at javax.swing.JComponent.getPreferredSize(JComponent.java:1661) at java.awt.BorderLayout.preferredLayoutSize(BorderLayout.java:719) at java.awt.Container.preferredSize(Container.java:1794) at java.awt.Container.getPreferredSize(Container.java:1778) at org.appwork.utils.swing.dialog.InternDialog.getRawPreferredSize(InternDialog.java:116) at org.appwork.utils.swing.dialog.AbstractDialog.getRawPreferredSize(AbstractDialog.java:1096) at org.appwork.utils.swing.dialog.AbstractDialog.getPreferredSize(AbstractDialog.java:1060) at org.appwork.utils.swing.dialog.InternDialog.getPreferredSize(InternDialog.java:110) at java.awt.Window.pack(Window.java:809) at org.appwork.utils.swing.dialog.AbstractDialog.pack(AbstractDialog.java:1345) at org.appwork.utils.swing.dialog.AbstractDialog._init(AbstractDialog.java:477) at org.appwork.utils.swing.dialog.AbstractDialog.displayDialog(AbstractDialog.java:722) at org.appwork.utils.swing.dialog.Dialog.showDialogRawInEDT(Dialog.java:518) at org.appwork.utils.swing.dialog.Dialog.showDialogRaw(Dialog.java:509) at org.appwork.utils.swing.dialog.Dialog.showDialog(Dialog.java:497) at org.appwork.utils.swing.dialog.Dialog.showExceptionDialog(Dialog.java:625) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:936) at jd.SecondLevelLaunch$12.edtRun(SecondLevelLaunch.java:902) at org.appwork.utils.swing.EDTHelper.run(EDTHelper.java:87) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [1/10|Priority: 10000]ShutdownController: start item->ShutdownEvent: Save Downloadlist [Done:1/10 [2/10|Priority: 10000]ShutdownController: start item->ProxyController: save config [Done:2/10 [3/10|Priority: 10000]ShutdownController: start item->ShutdownEvent: Delete /share/CACHEDEV1_DATA/Public/jd2/tmp/exitcheck [Done:3/10 [4/10|Priority: 10000]ShutdownController: start item->flushing logs to disk [Done:4/10 [5/10|Priority: 10000]ShutdownController: start item-> Priority: 10000 [Done:5/10 [6/10|Priority: 0]ShutdownController: start item->ShutdownEvent: Save JSonStorages [Done:6/10 [7/10|Priority: 0]ShutdownController: start item->ShutdownEvent: SaveAllStorageHandler [Done:7/10 [8/10|Priority: -2147483648]ShutdownController: start item-> Priority: -2147483648 [Done:8/10 [9/10|Priority: -2147483648]ShutdownController: start item->ShutdownEventWrapper Thread[Thread-0,5,main] - java.util.logging.LogManager$Cleaner Priority: -2147483648 [Done:9/10 [10/10|Priority: -2147483648]ShutdownController: start item->ShutdownEventWrapper Thread[Thread-1,5,main] - java.util.logging.LogManager$Cleaner Priority: -2147483648 [Done:10/10

Danielku15 commented 10 years ago

Looks like this problem is caused by Issue #1 Could you please try it again with the 0.0.3 release? https://github.com/Danielku15/GhostAWT/releases/tag/0.0.3

Jorman commented 10 years ago

Yeeeppp, seems to works, tnx, for your help. I've to use that on a little script with the -jar option, is possible? Some kind of java -Xmx512m \ -Dawt.toolkit=ghostawt.GhostToolkit \ -Djava.awt.graphicsenv=ghostawt.image.GhostGraphicsEnvironment \ -Djava.awt.headless=false \ -Dsun.font.fontmanager=ghostawt.sun.GFontManager \ -Dghostawt.library.path=/share/CACHEDEV1_DATA/Public/jd2/libs/ghostawt/linux32 \ -Dsun.boot.library.path=/share/CACHEDEV1_DATA/Public/jd2/libs/ghostawt/linux32/:/share/CACHEDEV1_DATA/.qpkg/JRE/jre/lib/i386 \ -jar /share/CACHEDEV1_DATA/Public/jd2/JDownloader.jar

But I can't find a way to launch jd2 with this string.

J

Danielku15 commented 10 years ago

Currently the shortest way is to use the GhostRunner class as main entry point. Creating the correct java command is quite complicated, that's why I created the GhostRunner class. It currently does not support starting a jar directly and I have no plans to add this feature. I recommend to start jd2 using

java -Dghostawt.library.path=libs/ghostawt/linux32 -cp "./*:libs/*:libs/ghostawt/*" ghostawt.GhostRunner org.jdownloader.startup.Main 

It's failsafe and it works.

I'll close this issue since you got jd2 running on your Qnap.

Jorman commented 10 years ago

Tnx for your support, sorry if I ask again, it's right the closed, because this issue is resolved, but I want only to specify. For the script, ok for the jar, I understood, I mean that I'm not expert, so I don't know all the java commands, but I think that is possible to find a way to run your command line, through a bash script. Like this one, that is for a synology system https://cdn.rawgit.com/mrcktz/d128f9e237c1894bbe46/raw/

BTW, many tnx for your works!

Danielku15 commented 10 years ago

I have a start.sh containing

nohup java -Dghostawt.library.path=libs/ghostawt/linux32 -cp "./*:libs/*:libs/ghostawt/*" ghostawt.GhostRunner org.jdownloader.startup.Main 

And I start the jd2 using the following command:

./start.sh &

I'm not sure if I understand what you want to achieve. The script you posted looks like an init.d script to start jd2 as Unix daemon. But that has nothing to do with either Java or GhostAWT, it's just a Unix thing.

Jorman commented 10 years ago

Yepppppp, tnx with this command and a little search, one my friend made a bash script to launch jd like a init.d script.

Tnx