JavaFX InvocationTarget Fix – Are there better alternatives?

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(     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(     at java.base/java.lang.reflect.Method.invoke(     at     at     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(     at java.base/java.lang.reflect.Method.invoke(     at java.base/sun.launcher.LauncherHelper$  FXHelper.main( Caused by: java.lang.RuntimeException: Exception in Application start method     at     at$  launchApplication$  2(     at java.base/ 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 because module does not export com.sun.javafx.util to unnamed module @0x37b175c4     at com.sun.javafx.fxml.FXMLLoaderHelper.<clinit>(     at javafx.fxml.FXMLLoader.<clinit>(     at net.chatbrain.desktop.misc.StageManager.changeScene(     at net.chatbrain.desktop.misc.StageManager.startup(     at net.chatbrain.desktop.models.MainStage.start(     at$  launchApplication1$  9(     at$  runAndWait$  12(     at$  runLater$  10(     at java.base/ Method)     at$  runLater$  11(     at$     at Method)     at$  runLoop$  3(     ... 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

Alternatives to APFS which keeps corrupting itself? [duplicate]

This question already has an answer here:

  • Can you update to macOS 10.14 (Mojave) without converting to APFS? 6 answers

Macos mojave locked up, forcing me to reboot. I was then presented with the prohibitory symbol indicating that the OS can no longer load. It was caused by APFS being corrupted, confirmed by disk utility in recovery mode. Disk utility did nothing to repair the problem.

I reinstalled the OS and restored everything from a backup. One day later macos locked up again, and I once again had to reboot. It now stops booting after filling the progress bar while loading the OS. APFS has once again managed to corrupt itself, evident both when staring in verbose mode and when running disk utility in recovery mode. A checksum for some object is invalid. Disk utility once again makes no attempt to actually fix anything and I have found no evidence of any other APFS tools from apple for this purpose.

I’m not resizing partitions or anything advanced when it happens, just using Firefox and getting a beach ball.

I can’t think of any other solution to the situation other than to get rid of APFS:

  • Reinstalling the OS onto an HFS+ partition. I tried this — the installer ignores the existing file system and created APFS anyway.
  • Install an older version of the OS on HFS+
  • Use some hack to force mojave onto HFS+
  • Use a different OS

The SSD is a 500 GB, less than a year old Samsung 860 EVO that boots Windows 10 with seemingly no problems so the hardware does not seem to be the problem.

Are there any other obvious options that I have missed in my list? (buying new hardware because the file system is useless doesn’t qualify)

Top 15 Fiverr Clones and Alternatives You Must Be Aware Of

Listed below are the websites for Fiverr Alternatives or say Fiverr Clones

Do ADD …if not included


Top 15 Fiverr Clones and Alternatives You Must Be Aware Of

CAPTCHA on mobile: what are the alternatives?

From a UX perspective, CAPTCHA’s are bad, bad, bad.

But let’s say we have this as a requirement. And it’s for a hybrid app (compiled app, but built upon an HTML5 platform).

I’m trying to find out:

  • is bot traffic from an iPhone (or Android device) actually a problem? (or–my theory–is this an outdated hold-over requirement that has been cut-and-pasted into technical requirement documents since 1998?)
  • If so, are there better alternatives that are mobile-centric over yet-another-annoying-CAPTCHA?

ERROR SRVE0777E: None of the policy alternatives can be satisfied

Genere un cliente correctamente desde Eclipse pero al momento de utilizar el servicio tengo el siguiente error:

[ERROR ] SRVE0777E: Excepción lanzada por la clase de aplicación ‘org.apache.cxf.jaxws.JaxWsClientProxy.invoke:156’ None of the policy alternatives can be satisfied. at org.apache.cxf.jaxws.JaxWsClientProxy.invoke( at [internal classes] at com.sun.proxy.$ Proxy69.consultaVencimientos(Unknown Source) at at com.vignete.seguros.home.servlets.VencimientosTotalesHomeWebBean.initVencimiento( at com.vignete.seguros.home.servlets.HomeServlet.doGet( at javax.servlet.http.HttpServlet.service( at [internal classes] Caused by: None of the policy alternatives can be satisfied. at

Parece que falta definir en el cliente las políticas de seguridad del servicio, ya que no son standards, buscando en internet el error se resuelve ignorando las políticas o mediante un provider. Estuve probando ambas alternativas, sobre todo la de ignorar las políticas mediante la clase IgnorablePolicyInterceptorProvider pero sigo con el error. Alguna idea? Silvio

What are the other alternatives to Photoshop’s “crop and straighten” for scanned images that have rounded corners

I’m scanning a lot of cards and I’m using Photoshop’s automated “crop and straighten” function to auto rotate and crop them after. But the result wasn’t very accurate as some of the sides of the scans were clearly cropped off. I think maybe that has to do with my cards having rounded corners? What other alternative program do I have on this?

How to represent alternatives in a column view (like the Mac OS Finder)


In an expert system, configuration users may be able to define custom behavior by way of business rules or decision tables. For those to be meaningful, the system offers its domain-specific data model as input. This kind of data model may be fairly complex and subject to changes over time, which means it is hard to document in a usable way without risking it getting outdated quickly.

I don’t expect users to consult long lists/tables in a manual to find what they are after. The same goes for some big/separate documentation like Javadoc or JSDoc. Instead, it should be available in-line together with the business rule or decision table being defined.


  1. Avoid overwhelming the user while allowing to traverse the complex hierarchical data structure by not displaying the full tree but rather only the sub-elements of a particular selection in a column view like in the Mac OS Finder: Mac OS Finder: Column View
  2. Utilize a standard way of describing a data structure that can be generated from code (like Javadoc/JSDoc): JSON-Schema

You can find the current state of my component on GitHub and even play around in its Storybook.


In contrast to a file system (as represented by the Finder’s column view), such a domain-specific data model can contain optional elements. This can be represented in a JSON-Schema in multiple ways – mainly as anyOf or oneOf sub-structures.

E.g. a customer may be a private individual (with a first name, surname, date of birth, etc.) or company (with a single name, an organization number, etc.) – on an invoice the customer may be represented as:

Invoice: {   properties: {     Customer: {       oneOf: [         { $  ref: "PrivateIndividual" },         { $  ref: "Company" }       ]     }   } } 

How to meaningfully show these alternatives?

From the top of my head, I can think of the following approaches but am not fully convinced by any one of them, especially with the anyOf in mind where sub-structures may even be combined (instead of the exclusive oneOf alternatives):


download bmml source – Wireframes created with Balsamiq Mockups

  • How can these be improved?
  • Is there a better one that I simply missed?
  • How to handle anyOf?