Closed conjon42 closed 1 week ago
What version of Pachira are you using? Select 'Help -> About' will give you the version number.
On Tue, Sep 3, 2024 at 7:31 AM conjon42 @.***> wrote:
New to Java, working on Macbook with M2 chip. Installed Java and JavaFX through Liberica JDK. Everything in the program seems to work so far except Direct connections, which results in this string of errors when trying to view Financial institutions list:
Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at javafx.fxml/javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1792) at javafx.fxml/javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1675) at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) at javafx.base/javafx.event.Event.fireEvent(Event.java:198) at javafx.controls/javafx.scene.control.MenuItem.fire(MenuItem.java:465) at javafx.controls/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1380) at javafx.controls/com.sun.javafx.scene.control.ContextMenuContent$MenuItemContainer.lambda$createChildren$12(ContextMenuContent.java:1333) at javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) at javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) at javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at javafx.base/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at javafx.base/javafx.event.Event.fireEvent(Event.java:198) at javafx.graphics/javafx.scene.Scene$MouseHandler.process(Scene.java:3855) at javafx.graphics/javafx.scene.Scene$MouseHandler.access$1200(Scene.java:3583) at javafx.graphics/javafx.scene.Scene.processMouseEvent(Scene.java:1853) at javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2592) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) at java.base/java.security.AccessController.doPrivileged(Native Method) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434) at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:390) at javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433) at javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(View.java:550) at javafx.graphics/com.sun.glass.ui.View.notifyMouse(View.java:936) at javafx.graphics/com.sun.glass.ui.mac.MacView.notifyMouse(MacView.java:127) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at com.sun.javafx.reflect.Trampoline.invoke(MethodUtil.java:76) at jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at javafx.base/com.sun.javafx.reflect.MethodUtil.invoke(MethodUtil.java:273) at javafx.fxml/com.sun.javafx.fxml.MethodHelper.invoke(MethodHelper.java:83) at javafx.fxml/javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1789) ... 41 more Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at net.taihuapp.pachira.FinancialInstitutionListDialogController.setMainModel(FinancialInstitutionListDialogController.java:101) at net.taihuapp.pachira.MainController.handleFinancialInstitutionList(MainController.java:1202) ... 52 more Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527) ... 54 more
I wonder if the problem is with my Java installation, but everything else seems to work in the program.
— Reply to this email directly, view it on GitHub https://github.com/taihuapp/Pachira/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIK46Y2FGK73CPSE5IKI423ZUWMZFAVCNFSM6AAAAABNR5UFO2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDENRTGM4DINI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
What version of Pachira are you using?
0.90
I found the problem. Apparently one of the libraries (jaxb) was removed from the official java in the newer java version. I added the dependency in the latest release I just put out. Please give it a try and let me know.
On Tue, Sep 3, 2024 at 9:37 AM conjon42 @.***> wrote:
What version of Pachira are you using?
0.90
— Reply to this email directly, view it on GitHub https://github.com/taihuapp/Pachira/issues/2#issuecomment-2326550162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIK46Y2OO5C7KGDCDAYOBG3ZUW3PZAVCNFSM6AAAAABNR5UFO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRWGU2TAMJWGI . You are receiving this because you commented.Message ID: @.***>
Still getting the same error. From this StackOverflow post, do you need to also add this snippet to the pom?
<!-- API, java.xml.bind module -->
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>2.3.2</version>
</dependency>
Yes, you're right. Added in the latest release.
On Thu, Sep 5, 2024 at 4:25 AM conjon42 @.***> wrote:
Still getting the same error. From this https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception StackOverflow post, do you need to also add this snippet to the pom?
jakarta.xml.bind jakarta.xml.bind-api 2.3.2 — Reply to this email directly, view it on GitHub https://github.com/taihuapp/Pachira/issues/2#issuecomment-2330913208, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIK46Y457BSH5KFIQX5D5OLZVAIPRAVCNFSM6AAAAABNR5UFO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZQHEYTGMRQHA . You are receiving this because you commented.Message ID: @.***>
That worked, thank you!
You're welcome!
On Sat, Sep 7, 2024 at 2:16 AM conjon42 @.***> wrote:
That worked, thank you!
— Reply to this email directly, view it on GitHub https://github.com/taihuapp/Pachira/issues/2#issuecomment-2335087010, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIK46Y7ZHY4ZABNV6I77YTDZVKK2RAVCNFSM6AAAAABNR5UFO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGA4DOMBRGA . You are receiving this because you commented.Message ID: @.***>
New to Java, working on Macbook with M2 chip. Installed Java and JavaFX through Liberica JDK. Everything in the program seems to work so far except Direct connections, which results in this string of errors when trying to view Financial institutions list:
I wonder if the problem is with my Java installation, but everything else seems to work in the program.