rbeckman-nextgen / test-mc4

0 stars 0 forks source link

Unable to launch Mirth Client from Mirth Connect Administrator Launcher #4310

Open rbeckman-nextgen opened 4 years ago

rbeckman-nextgen commented 4 years ago

When attempting to launch the Mirth Connect Administrator Launcher app

  1. Click icon in Dock
  2. It freezes my whole computer when first launching the app for 5 seconds (reliably)
  3. Spits out two error log files in /Applications/ ` Exception:

java.lang.ClassCastException: com.install4j.runtime.beans.formcomponents.KeyValuePairComponent cannot be cast to com.install4j.api.screens.Screen at com.install4j.runtime.installer.config.ScreenBeanConfig.setBean(ScreenBeanConfig.java:88) at com.install4j.runtime.installer.config.AbstractBeanConfig.finishBatch(AbstractBeanConfig.java:58) at com.install4j.runtime.installer.ContextImpl.registerScreens(ContextImpl.java:694) at com.install4j.runtime.installer.controller.Controller.start(Controller.java:78) at com.install4j.runtime.installer.Application.runApplication(Application.java:91) at com.install4j.runtime.installer.Application.access$000(Application.java:25) at com.install4j.runtime.installer.Application$1.run(Application.java:71) at com.install4j.runtime.launcher.util.SingleInstance.checkInProcessAndRun(SingleInstance.java:54) at com.install4j.runtime.installer.Application.runApplicationInProcess(Application.java:77) at com.install4j.runtime.installer.helper.apiimpl.ApplicationLauncherImpl$1.run(ApplicationLauncherImpl.java:56) at com.install4j.runtime.installer.helper.apiimpl.ApplicationLauncherImpl.launchApplicationInProcess(ApplicationLauncherImpl.java:65) at com.install4j.api.launcher.ApplicationLauncher.launchApplicationInProcess(ApplicationLauncher.java:61) at com.install4j.runtime.launcher.integration.LauncherIntegration$4.run(LauncherIntegration.java:190) at com.install4j.runtime.launcher.integration.LauncherIntegration$1.run(LauncherIntegration.java:91)

Exception:

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:689) at com.install4j.runtime.installer.frontend.WizardScreenExecutor.register(WizardScreenExecutor.java:265) at com.install4j.runtime.installer.ContextImpl.registerScreenConfigs(ContextImpl.java:711) at com.install4j.runtime.installer.ContextImpl.registerScreens(ContextImpl.java:699) at com.install4j.runtime.installer.controller.Controller.start(Controller.java:78) at com.install4j.runtime.installer.Application.runApplication(Application.java:91) at com.install4j.runtime.installer.Application.access$000(Application.java:25) at com.install4j.runtime.installer.Application$1.run(Application.java:71) at com.install4j.runtime.launcher.util.SingleInstance.checkInProcessAndRun(SingleInstance.java:54) at com.install4j.runtime.installer.Application.runApplicationInProcess(Application.java:77) at com.install4j.runtime.installer.helper.apiimpl.ApplicationLauncherImpl$1.run(ApplicationLauncherImpl.java:56) at com.install4j.runtime.installer.helper.apiimpl.ApplicationLauncherImpl.launchApplicationInProcess(ApplicationLauncherImpl.java:65) at com.install4j.api.launcher.ApplicationLauncher.launchApplicationInProcess(ApplicationLauncher.java:61) at com.install4j.runtime.launcher.integration.LauncherIntegration$4.run(LauncherIntegration.java:190) at com.install4j.runtime.launcher.integration.LauncherIntegration$1.run(LauncherIntegration.java:91) 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:685) ... 14 more Caused by: java.lang.NoClassDefFoundError: com.install4j.runtime.wizard.WizardScreen at com.install4j.runtime.installer.frontend.WizardScreenExecutor$3.run(WizardScreenExecutor.java:268) 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)

`

  1. Then again for the first click into the application it freezes the whole computer for 10 seconds (reliably.)
  2. When I attempt to actually launch a specific destination, it then freezes for a couple seconds at the end, and the actual Administrator never opens but shows up in dock for about 5 seconds, then disappears.

Ultimately, I cannot launch Mirth Connect Administrator through the application.

When launching /Applications/Mirth\ Connect\ Administrator\ Launcher.app/Contents/MacOS/JavaApplicationStub via bash, the application immediately outputs errors regarding X servers

` Could not display the GUI. This application needs access to an X Server.


You can also run this application in console mode without access to an X server by passing the argument -c


Could not display the GUI. This application needs access to an X Server. java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.install4j.runtime.installer.frontend.GUIHelper.invokeOnEDT(GUIHelper.java:689) at com.install4j.runtime.installer.helper.InstallerUtil.reportException(InstallerUtil.java:1130) at com.install4j.runtime.installer.Application.runApplication(Application.java:93) at com.install4j.runtime.installer.Application.access$000(Application.java:25) at com.install4j.runtime.installer.Application$1.run(Application.java:71) at com.install4j.runtime.launcher.util.SingleInstance.checkInProcessAndRun(SingleInstance.java:54) at com.install4j.runtime.installer.Application.runApplicationInProcess(Application.java:77) at com.install4j.runtime.installer.helper.apiimpl.ApplicationLauncherImpl$1.run(ApplicationLauncherImpl.java:56) at com.install4j.runtime.installer.helper.apiimpl.ApplicationLauncherImpl.launchApplicationInProcess(ApplicationLauncherImpl.java:65) at com.install4j.api.launcher.ApplicationLauncher.launchApplicationInProcess(ApplicationLauncher.java:61) at com.install4j.runtime.launcher.integration.LauncherIntegration$4.run(LauncherIntegration.java:190) at com.install4j.runtime.launcher.integration.LauncherIntegration$1.run(LauncherIntegration.java:91) 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:685) ... 11 more Caused by: java.lang.NullPointerException at com.install4j.runtime.installer.helper.InstallerUtil.isAllowConsole(InstallerUtil.java:656) at com.install4j.runtime.installer.helper.InstallerUtil.displayXMessage(InstallerUtil.java:1188) at com.install4j.runtime.installer.helper.InstallerUtil.access$300(InstallerUtil.java:64) at com.install4j.runtime.installer.helper.InstallerUtil$3.run(InstallerUtil.java:1155) 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) `

Then, whenever you click in and out of the application (on just the GUI itself, no buttons,) it provides an errors:

2019-09-26 12:59:04.882 JavaApplicationStub[33848:3150506] unrecognized type is 4294967295 2019-09-26 12:59:04.882 JavaApplicationStub[33848:3150506] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671.60.107/AppKit.subproj/NSEvent.m:1977 2019-09-26 12:59:07.848 JavaApplicationStub[33848:3150506] unrecognized type is 4294967295 2019-09-26 12:59:07.848 JavaApplicationStub[33848:3150506] *** Assertion failure in -[NSEvent _initWithCGEvent:eventRef:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1671.60.107/AppKit.subproj/NSEvent.m:1977

What else can I do here to troubleshoot and get this to work?

Imported Issue. Original Details: Jira Issue Key: MIRTH-4459 Reporter: brianda Created: 2019-09-26T10:20:08.000-0700