Whenever I use JavaFX’s
FXMLLoader.load(URL) I end up with InvocationTargetException like this:
Exception in Application start method 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 javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:464) at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:363) 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 java.base/sun.launcher.LauncherHelper$ FXHelper.main(LauncherHelper.java:1051) Caused by: java.lang.RuntimeException: Exception in Application start method at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$ launchApplication$ 2(LauncherImpl.java:195) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.IllegalAccessError: class com.sun.javafx.fxml.FXMLLoaderHelper (in unnamed module @0x37b175c4) cannot access class com.sun.javafx.util.Utils (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.util to unnamed module @0x37b175c4 at com.sun.javafx.fxml.FXMLLoaderHelper.<clinit>(FXMLLoaderHelper.java:38) at javafx.fxml.FXMLLoader.<clinit>(FXMLLoader.java:2056) at net.chatbrain.desktop.misc.StageManager.changeScene(StageManager.java:90) at net.chatbrain.desktop.misc.StageManager.startup(StageManager.java:81) at net.chatbrain.desktop.models.MainStage.start(MainStage.java:18) at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$ launchApplication1$ 9(LauncherImpl.java:846) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$ runAndWait$ 12(PlatformImpl.java:455) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$ runLater$ 10(PlatformImpl.java:428) at java.base/java.security.AccessController.doPrivileged(Native Method) at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$ runLater$ 11(PlatformImpl.java:427) at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$ Future.run(InvokeLaterDispatcher.java:96) at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$ runLoop$ 3(WinApplication.java:174) ... 1 more Exception running application net.chatbrain.desktop.models.MainStage
However, I was able to fix the problem by adding a bunch of –add-export VM-Flags, e.g.
I have added like 20 of these, each one of them apparently solves problem, and each time I add one of these, another arose until I came to roughly 10. After the GUI finally worked, but as I proceeded to develop, rerunning spawned new InvocationTargetExceptions. This has since happened for every change I made. Adding this large amount did solve the problem,but it’s very inconvenient and inelegant to me. Additionaly, I have to apply this everytime I’m working with JavaFX. So my question: Is there any better alternative to this that fixes this permanentely? Thanks in advance, John
What is a better race for a rogue, a changeling or an elf?
I am going to be playing a rogue for my campaign, and I am wondering what will be a better build. I am looking for is a good all-around rogue, with good damage and flexibility. All of the supplementary books are allowed.
My goal is to build a dashboard to position the users about several processes (orders) running on a shop floor.
The processes has several steps, named for illustration as
Each order has a proper workflow. Example:
ORDER1: STEP1->STEP2->STEP10 ORDER2: STEP3->STEP6->STEP9
I may have dozens of orders running at the same time.
I need to find a way to build a dashboard view of all orders, its workflow and its current position in the process, as well as signaling delayed orders (all steps has a defined time).
I really can only think of a single grid:
STEP1 | STEP2 | STEP3 | STEP4 | STEP5 | STEP6 | STEP7 | STEP8 | STEP 9 | STEP10 ORDER1 OK | * | - | - | - | - | - | - | - | WAITING | ORDER2 - | - | OK | - | - | * | - | - |WAITING | - |
In my diagram: – : Step not used in the order * : Current step WAITING: Waiting step
I need advices of an intuitive and optimal way to build a situational screen for the users, showing all the required information detailed above.
In a marketplace, what do you think will be better: Making a sentence that the user completes by picking from several options that lead to results base on his request, or just showing featured items (most sold, most popular, etc.)?
For example a sentence like in this link, where clicking the underlined words opens a drop down selection: http://tympanus.net/Tutorials/NaturalLanguageForm/
I have a custom list created on SharePoint which is being used by users to create requests.
The list has multiple one line Text columns and Check Boxes.
Users raise around 15-20 such request every day. I want to make it easier for them to raise these requests, as good amount of time is being sent in raising it.
Could someone please advise an easier and more interactive way to do it on SharePoint.
I’m trying find evidence to support my case to change this page. So far, the pushback has been that there’s no evidence to say simple, single column text is better than what you see here. Am I wrong?
Acupressure For Best Love Life: Better Sex, Potency & More!
Learn to enjoy sex to the full, have strong potency and relax on your own with the best professional acupressure videos.
Welcome to The Acupressure For Better Love Life – The Place on Udemy to Learn Sex-Related Acupressure Points!
√ Enjoy The Best Sex using Traditional Chinese Massage Points
[get] Acupressure For Best Love Life: Better Sex, Potency & More! – $ 79 -free limited time
We are working on a web application where we need to create a screen which will have number of attributes. The screen has one to many mapping and then many to many mapping due to which the design of screen is becoming complicated and need your suggestion. We have an item which is associated with a Group and Group in turn is associated with Category as my attributes. For example: We want to purchase a mouse [Item] that is associated with a Group and that have multiple features or specification which is linked to Category.
Scenario: We need a screen for adding an invoice which contains the following: 1. Number of elements 2. Add items like Mouse1, Mouse2, Keyboard2 3. For adding an item, a select group of that item. 4. As you select group then your attributes for that will be selected. 5. Give the values to all attributes and add items. 6. After adding items, Add invoice
Approach 1: On the invoice, we first update the elements required for Invoice generation like No, Date, Address, etc. While adding the items, select the Group from the drop-down and after selecting the Group, the associated category attributes will be displayed for entry. We can have multiple items on an invoice as inline unique attributes with button to add, update, delete, Save items, etc. [Refer Screen 1]
Problem: Looking for a good UX design by which multiple items can be added on a single screen and save all the data once the SAVE button is pressed.
Approach 2: On the invoice, we first update the elements required for Invoice generation like No, Date, Address, etc. While adding the items, select the Group from the drop-down and after selecting the Group, the associated category attributes will be displayed for entry. Here we are having quantity as fixed attributes. As we will give values to quantity and then click on “GO” then pop will open which will have insert template. Insert template count will depend on the quantity. Fill the unique attributes values and click on save.
Problem: Click on “go” to display pop up is also not good UX. Can you please suggest me better UX for this flow.
We have a page that shows a preview of another page (newsletter) on an iFrame. Now we have two ways of displaying this:
Give the iFrame a specific height so that the user can scroll up / down within the iFrame to see the embedded page fully.
Dynamically resize the iFrame to the height of the embedded page so that it actually gets displayed in full (without the iFrame scrollbars).
Is #1 better so that the users can access the buttons at the bottom easily (button is “Next”) without scrolling ’till the end of the embedded page? (Although the disadvantage is that iFrame scrollbars are ugly.)
Is #2 better so that the users actually feel like they’re just seeing 1 whole page (and no scrollbars)? (Although the disadvantage of this would be the page could be very long depending on newsletter’s height. But one can argue that newsletters are seldom very long and that users do scroll down.)?
Is it better to buy HKD (with USD) in major cities of Taiwan (anytime) or in Macau (after 8 PM)? I remember seeing exchange points in Macau in the evening but I don’t remember how reasonable the rates were and how late it was. Or is it better to just withdraw MOP from an ATM in Macau Airport and exchange MOP to HKD in Macau? (My bank doesn’t charge ATM withdrawals fees, but the ATM might.)
And where in Taiwan can I buy HKD with USD? Do most banks do it?