Gente então não sei oque fazer não sei que erro é esse socorro

1 resposta
Taina_Couto
ant -f C:\Users\Tainá\Documents\NetBeansProjects\Taina-Elisa3 jfxsa-run

init:

Deleting: C:\Users\Tainá\Documents\NetBeansProjects\Taina-Elisa3\build\built-jar.properties

deps-jar:

Updating property file: C:\Users\Tainá\Documents\NetBeansProjects\Taina-Elisa3\build\built-jar.properties

Compiling 1 source file to C:\Users\Tainá\Documents\NetBeansProjects\Taina-Elisa3\build\classes

compile:

Detected JavaFX Ant API version 1.3

Launching <a>fx:jar</a> task from C:\Program Files\Java\jdk1.8.0_201\jre…\lib\ant-javafx.jar

Warning: From JDK7u25 the Codebase manifest attribute should be used to restrict JAR repurposing.

Please set manifest.custom.codebase property to override the current default non-secure value *.

Launching <a>fx:deploy</a> task from C:\Program Files\Java\jdk1.8.0_201\jre…\lib\ant-javafx.jar

No base JDK. Package will use system JRE.

No base JDK. Package will use system JRE.

jfx-deployment-script:

jfx-deployment:

jar:

Copying 12 files to C:\Users\Tainá\Documents\NetBeansProjects\Taina-Elisa3\dist\run1592808833

jfx-project-run:

Executing C:\Users\Tainá\Documents\NetBeansProjects\Taina-Elisa3\dist\run1592808833\Taina-Elisa3.jar using platform C:\Program Files\Java\jdk1.8.0_201\jre/bin/java

Exception in Application start method

java.lang.reflect.InvocationTargetException

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.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)

at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)

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 sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)

Caused by: java.lang.RuntimeException: Exception in Application start method

at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)

at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$154(LauncherImpl.java:182)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.lang.IllegalArgumentException: Children: duplicate children added: parent = VBox@7bde91e

at javafx.scene.Parent$2.onProposedChange(Parent.java:454)

at com.sun.javafx.collections.VetoableListDecorator.addAll(VetoableListDecorator.java:234)

at com.sun.javafx.collections.VetoableListDecorator.addAll(VetoableListDecorator.java:103)

at taina.elisa3.TainaElisa3.start(TainaElisa3.java:124)

at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)

at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)

at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)

at java.security.AccessController.doPrivileged(Native Method)

at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)

at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)

at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)

 1 more

Exception running application taina.elisa3.TainaElisa3

Java Result: 1

Deleting directory C:\Users\Tainá\Documents\NetBeansProjects\Taina-Elisa3\dist\run1592808833

jfxsa-run:

CONSTRUÍDO COM SUCESSO (tempo total: 2 segundos)

1 Resposta

I

Exceção de Argumento Ilegal. Parece que tu está adicionando dis VBox iguais.

Criado 27 de novembro de 2019
Ultima resposta 27 de nov. de 2019
Respostas 1
Participantes 2