Skip to main content

JavaFX project Run project in NetBeans 6.0 crashes

2 replies [Last post]
kashinj
Offline
Joined: 2008-01-08
Points: 0

Hi,

My host environment:
JDK 1.5.0_14
JRE 1.5.0_14
NetBeans: 6.0

Create a JavaFX project in NetBeans.
While trying to run the project, it crashes as given below.

I'm new to Java/JavaFX/NetBeans. I'm really not able to find whether the error is due to JavaFX run time error or NetBeans Error.

I searched in few posts here and found that to use NetBeans with certified Java, if so, pls do let me know the certified version of NetBeans for JavaFX project.

I would be interested if any troubleshooting guide / some pointers would be helpful to debug the JavaFX project.

Thanks

best Regards,
Viswanath

=======================START=====================================
init:
deps-jar:
compile:
Copy libraries to Z:\src\VMWare\VI Extension\dist\lib.
To run this application from the command line without Ant, try:
java -jar "Z:\src\VMWare\VI Extension\dist\ElxSanMgr.jar" elxsanmgr.ui.jfx.Main
jar:
compile thread: Thread[AWT-EventQueue-0,6,main]
compile 0.0
run:
java.lang.NullPointerException
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7599)
at net.java.javafx.typeImpl.PL$ReturnStatementImpl.accept(PL.java:906)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7531)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7422)
at net.java.javafx.typeImpl.PL$IfStatementImpl.accept(PL.java:631)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7531)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7459)
at net.java.javafx.typeImpl.PL$ForStatementImpl.accept(PL.java:1013)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7531)
at net.java.javafx.typeImpl.PL$StatementListImpl.accept(PL.java:834)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7413)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5941)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:6621)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$FunctionCallImpl.accept(ExpressionFactoryImpl.java:1922)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5554)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:6287)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$ExpressionListImpl.accept(ExpressionFactoryImpl.java:1563)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5554)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5732)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$InitializerExpressionImpl.accept(ExpressionFactoryImpl.java:913)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7401)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$AllocationExpressionImpl.accept(ExpressionFactoryImpl.java:1224)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5554)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5728)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$InitializerExpressionImpl.accept(ExpressionFactoryImpl.java:913)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7401)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$AllocationExpressionImpl.accept(ExpressionFactoryImpl.java:1224)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5554)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5728)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$InitializerExpressionImpl.accept(ExpressionFactoryImpl.java:913)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7401)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$AllocationExpressionImpl.accept(ExpressionFactoryImpl.java:1224)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5554)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:6031)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$BinaryExpressionImpl.accept(ExpressionFactoryImpl.java:1447)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5554)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7616)
at net.java.javafx.typeImpl.PL$ExpressionStatementImpl.accept(PL.java:880)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7531)
at net.java.javafx.typeImpl.PL$StatementListImpl.accept(PL.java:834)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7413)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5941)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5791)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:6542)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$FunctionCallImpl.accept(ExpressionFactoryImpl.java:1922)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5554)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7616)
at net.java.javafx.typeImpl.PL$ExpressionStatementImpl.accept(PL.java:880)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7531)
at net.java.javafx.typeImpl.PL$StatementListImpl.accept(PL.java:834)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:7413)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5941)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5791)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$FunctionDefinitionImpl.accept(ExpressionFactoryImpl.java:3052)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.visit(ExpressionFactoryImpl.java:5554)
at net.java.javafx.typeImpl.ExpressionFactoryImpl$TypeChecker.typeCheck(ExpressionFactoryImpl.java:4896)
at net.java.javafx.typeImpl.Compilation$CompilationUnitImpl.typeCheck(Compilation.java:653)
at net.java.javafx.typeImpl.Compilation$CompilationUnitImpl.typeCheck(Compilation.java:601)
at net.java.javafx.typeImpl.Compilation$CompilationUnitImpl.typeCheck(Compilation.java:601)
at net.java.javafx.typeImpl.Compilation.declareAndParseUnits(Compilation.java:802)
at net.java.javafx.typeImpl.Compilation.doCompile(Compilation.java:1034)
at net.java.javafx.typeImpl.Compilation.compile(Compilation.java:837)
at net.java.javafx.typeImpl.Compilation.compile(Compilation.java:819)
at net.java.javafx.typeImpl.F3Shell$1.run(F3Shell.java:93)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Z:\src\VMWare\VI Extension\nbproject\build-impl.xml:414: The following error occurred while executing this line:
Z:\src\VMWare\VI Extension\nbproject\build-impl.xml:261: Java returned: 1
BUILD FAILED (total time: 12 seconds)

=======================END=======================================

Message was edited by: kashinj

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kashinj
Offline
Joined: 2008-01-08
Points: 0

Hi Alex,

really thanks, for the quick reply....

It got fixed..

regards,
viswanath

alexsch
Offline
Joined: 2007-07-12
Points: 0

It seems that exception occurs in runtime. Could you post a code snippet that throws the exception.

Thanks,
Alexandr.