egovconcepts / jacp

Automatically exported from code.google.com/p/jacp
0 stars 0 forks source link

NullPointException when not setWorkbenchXYSize() #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
if not setWorkbenchXYSize() in handleInitialLayout() method of Workbench,
will  cause NullPointerException. 
I think that there should are some default value.

java.lang.NullPointerException
    at org.jacp.javafx.rcp.workbench.AFXWorkbench.setBasicLayout(AFXWorkbench.java:330)
    at org.jacp.javafx.rcp.workbench.AFXWorkbench.start(AFXWorkbench.java:124)
    at org.jacp.project.launcher.AFX2SpringLauncher.start(AFX2SpringLauncher.java:50)
    at com.sun.javafx.application.LauncherImpl$5.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
    at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
    at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)

Original issue reported on code.google.com by markench...@gmail.com on 20 Apr 2012 at 4:40

GoogleCodeExporter commented 9 years ago
I use version 1.05 with JavaFX 2.1b019

Original comment by markench...@gmail.com on 20 Apr 2012 at 4:42