Error in installation, help
Asked by xin qiu:

I follow the instructions in the itemized link:

<https://confluence.atlassian.com/doc/installing-a-confluence-trial-838416249.html>

Error:

\[root@VM_0_11_centos /usr/local\]# chmod a+x atlassian-confluence-7.0.1-x64.bin  
\[root@VM_0_11_centos /usr/local\]# sudo ./atlassian-confluence-7.0.1-x64.bin  
WARNING: Please make sure fontconfig is installed in your Linux distribution for Confluence installation.  
Visit KB article for more information. <https://confluence.atlassian.com/x/JP06OQ>  
Unpacking JRE ...  
Starting Installer ...  
An error occurred:  
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException  
Error log: /tmp/install4jError8221127227047170769.log  
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException  
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:704)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:73)  
at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.\<init\>(ConsoleScreenExecutor.java:24)  
at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.\<init\>(InstallerConsoleScreenExecutor.java:6)  
at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:87)  
at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:56)  
at com.install4j.runtime.installer.Installer.main(Installer.java:45)  
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:498)  
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)  
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:62)  
Caused by: java.lang.reflect.InvocationTargetException  
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)  
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)  
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:700)  
... 12 more  
Caused by: java.lang.NullPointerException  
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)  
at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)  
at sun.awt.FontConfiguration.init(FontConfiguration.java:107)  
at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)  
at sun.font.SunFontManager$2.run(SunFontManager.java:431)  
at java.security.AccessController.doPrivileged(Native Method)  
at sun.font.SunFontManager.\<init\>(SunFontManager.java:376)  
at sun.awt.FcFontManager.\<init\>(FcFontManager.java:35)  
at sun.awt.X11FontManager.\<init\>(X11FontManager.java:57)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)  
at java.lang.Class.newInstance(Class.java:442)  
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)  
at java.security.AccessController.doPrivileged(Native Method)  
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)  
at sun.font.SunFontManager.getInstance(SunFontManager.java:250)  
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)  
at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1113)  
at javax.swing.JComponent.getFontMetrics(JComponent.java:1626)  
at javax.swing.text.WrappedPlainView.updateMetrics(WrappedPlainView.java:318)  
at javax.swing.text.WrappedPlainView.updateChildren(WrappedPlainView.java:297)  
at javax.swing.text.WrappedPlainView.insertUpdate(WrappedPlainView.java:463)  
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.DefaultEditorKit.read(DefaultEditorKit.java:273)  
at javax.swing.JEditorPane.setText(JEditorPane.java:1416)  
at javax.swing.JEditorPane.\<init\>(JEditorPane.java:290)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.createEditorPane(AbstractHeadlessScreenExecutor.java:357)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.initFontManager(AbstractHeadlessScreenExecutor.java:309)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.access$400(AbstractHeadlessScreenExecutor.java:28)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor$2.run(AbstractHeadlessScreenExecutor.java:77)  
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)  
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)  
at java.awt.EventQueue.access$500(EventQueue.java:97)  
at java.awt.EventQueue$3.run(EventQueue.java:709)  
at java.awt.EventQueue$3.run(EventQueue.java:703)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)  
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)  
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)  
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)  


Answers:
author: xin qiu
body: Any help?


author: xin qiu
body: The problem is NOT the problem depicted in the following link:

<https://confluence.atlassian.com/confkb/confluence-generates-confluence-is-vacant-error-on-install-779164449.html>

\[root@VM_0_11_centos \~\]# ping \`cat /etc/hostname\`  
PING VM_0_11_centos (127.0.0.1) 56(84) bytes of data.  
64 bytes from VM_0_11_centos (127.0.0.1): icmp_seq=1 ttl=64 time=0.029 ms  
64 bytes from VM_0_11_centos (127.0.0.1): icmp_seq=2 ttl=64 time=0.027 ms  
64 bytes from VM_0_11_centos (127.0.0.1): icmp_seq=3 ttl=64 time=0.026 ms  
64 bytes from VM_0_11_centos (127.0.0.1): icmp_seq=4 ttl=64 time=0.024 ms


author: xin qiu
body: error log:

\[root@VM_0_11_centos /usr/local/qiuxin\]# cat /tmp/install4jError8221127227047170769.log  
Exception:

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException  
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:704)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.init(AbstractHeadlessScreenExecutor.java:73)  
at com.install4j.runtime.installer.frontend.headless.ConsoleScreenExecutor.\<init\>(ConsoleScreenExecutor.java:24)  
at com.install4j.runtime.installer.frontend.headless.InstallerConsoleScreenExecutor.\<init\>(InstallerConsoleScreenExecutor.java:6)  
at com.install4j.runtime.installer.Installer.getScreenExecutor(Installer.java:87)  
at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:56)  
at com.install4j.runtime.installer.Installer.main(Installer.java:45)  
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:498)  
at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)  
at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:62)  
Caused by: java.lang.reflect.InvocationTargetException  
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)  
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)  
at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:700)  
... 12 more  
Caused by: java.lang.NullPointerException  
at sun.awt.FontConfiguration.getVersion(FontConfiguration.java:1264)  
at sun.awt.FontConfiguration.readFontConfigFile(FontConfiguration.java:219)  
at sun.awt.FontConfiguration.init(FontConfiguration.java:107)  
at sun.awt.X11FontManager.createFontConfiguration(X11FontManager.java:774)  
at sun.font.SunFontManager$2.run(SunFontManager.java:431)  
at java.security.AccessController.doPrivileged(Native Method)  
at sun.font.SunFontManager.\<init\>(SunFontManager.java:376)  
at sun.awt.FcFontManager.\<init\>(FcFontManager.java:35)  
at sun.awt.X11FontManager.\<init\>(X11FontManager.java:57)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)  
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)  
at java.lang.Class.newInstance(Class.java:442)  
at sun.font.FontManagerFactory$1.run(FontManagerFactory.java:83)  
at java.security.AccessController.doPrivileged(Native Method)  
at sun.font.FontManagerFactory.getInstance(FontManagerFactory.java:74)  
at sun.font.SunFontManager.getInstance(SunFontManager.java:250)  
at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:264)  
at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:1113)  
at javax.swing.JComponent.getFontMetrics(JComponent.java:1626)  
at javax.swing.text.WrappedPlainView.updateMetrics(WrappedPlainView.java:318)  
at javax.swing.text.WrappedPlainView.updateChildren(WrappedPlainView.java:297)  
at javax.swing.text.WrappedPlainView.insertUpdate(WrappedPlainView.java:463)  
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.DefaultEditorKit.read(DefaultEditorKit.java:273)  
at javax.swing.JEditorPane.setText(JEditorPane.java:1416)  
at javax.swing.JEditorPane.\<init\>(JEditorPane.java:290)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.createEditorPane(AbstractHeadlessScreenExecutor.java:357)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.initFontManager(AbstractHeadlessScreenExecutor.java:309)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor.access$400(AbstractHeadlessScreenExecutor.java:28)  
at com.install4j.runtime.installer.frontend.headless.AbstractHeadlessScreenExecutor$2.run(AbstractHeadlessScreenExecutor.java:77)  
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)  
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)  
at java.awt.EventQueue.access$500(EventQueue.java:97)  
at java.awt.EventQueue$3.run(EventQueue.java:709)  
at java.awt.EventQueue$3.run(EventQueue.java:703)  
at java.security.AccessController.doPrivileged(Native Method)  
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)  
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)  
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)  
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)

System properties:

java.runtime.name=OpenJDK Runtime Environment  
exe4j.moduleName=/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin  
sun.boot.library.path=/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/amd64  
java.vm.version=25.202-b08  
java.vm.vendor=Oracle Corporation  
java.vendor.url=<https://adoptopenjdk.net/>  
path.separator=:  
java.vm.name=OpenJDK 64-Bit Server VM  
file.encoding.pkg=sun.io  
user.country=US  
sun.java.launcher=SUN_STANDARD  
sun.os.patch.level=unknown  
install4j.exeDir=/usr/local/qiuxin/  
java.vm.specification.name=Java Virtual Machine Specification  
user.dir=/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir  
java.runtime.version=1.8.0_202-b08  
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment  
i4jv=0  
java.endorsed.dirs=/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/endorsed  
os.arch=amd64  
java.io.tmpdir=/tmp  
line.separator=

java.vm.specification.vendor=Oracle Corporation  
os.name=Linux  
exe4j.totalDataLength=681154255  
sun.java2d.noddraw=true  
sun.jnu.encoding=ANSI_X3.4-1968  
java.library.path=/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/user::/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib  
java.specification.name=Java Platform API Specification  
java.class.version=52.0  
sun.management.compiler=HotSpot 64-Bit Tiered Compilers  
os.version=3.10.107-1-tlinux2_kvm_guest-0049  
i4j.vpt=true  
install4j.cwd=/usr/local/qiuxin  
user.home=/root  
user.timezone=Asia/Shanghai  
java.awt.printerjob=sun.print.PSPrinterJob  
file.encoding=ANSI_X3.4-1968  
install4j.jvmDir=/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre  
java.specification.version=1.8  
java.class.path=i4jruntime.jar  
user.name=root  
install4j.executionMode=console  
java.vm.specification.version=1.8  
sun.java.command=com.install4j.runtime.launcher.UnixLauncher launch 0 0 0 com.install4j.runtime.installer.Installer  
java.home=/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre  
sun.arch.data.model=64  
user.language=en  
java.specification.vendor=Oracle Corporation  
awt.toolkit=sun.awt.X11.XToolkit  
java.vm.info=mixed mode  
java.version=1.8.0_202  
java.ext.dirs=/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/ext:/usr/java/packages/lib/ext  
sun.boot.class.path=/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/resources.jar:/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/rt.jar:/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/sunrsasign.jar:/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/jsse.jar:/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/jce.jar:/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/charsets.jar:/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/lib/jfr.jar:/usr/local/qiuxin/atlassian-confluence-7.0.1-x64.bin.17306.dir/jre/classes  
java.awt.headless=true  
install4j.appDir=/usr/local/qiuxin/  
java.vendor=AdoptOpenJdk  
file.separator=/  
java.vendor.url.bug=<https://github.com/AdoptOpenJDK/openjdk-build/issues>  
sun.font.fontmanager=sun.awt.X11FontManager  
sun.io.unicode.encoding=UnicodeLittle  
sun.cpu.endian=little  
sun.cpu.isalist=  
\[root@VM_0_11_centos /usr/local/qiuxin\]#


Tags: confluence-server

server