• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA Java Exception on startup

Messages
5
Country
spain
When I start the program I find allways this mesage:
Code:
java.lang.NullPointerException
	at com.sun.java.swing.plaf.windows.XPStyle.getTypeEnumName(Unknown Source)
	at com.sun.java.swing.plaf.windows.XPStyle.getBorder(Unknown Source)
	at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPBorderValue.getXPValue(Unknown Source)
	at com.sun.java.swing.plaf.windows.WindowsLookAndFeel$XPValue.createValue(Unknown Source)
	at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
	at javax.swing.UIDefaults.get(Unknown Source)
	at javax.swing.MultiUIDefaults.get(Unknown Source)
	at javax.swing.UIDefaults.getBorder(Unknown Source)
	at javax.swing.UIManager.getBorder(Unknown Source)
	at javax.swing.border.TitledBorder.getBorder(Unknown Source)
	at javax.swing.border.TitledBorder.getBorderInsets(Unknown Source)
	at javax.swing.border.TitledBorder.getBorderInsets(Unknown Source)
	at javax.swing.JComponent.getInsets(Unknown Source)
	at java.awt.GridBagLayout.GetMinSize(Unknown Source)
	at java.awt.GridBagLayout.getMinSize(Unknown Source)
	at java.awt.GridBagLayout.preferredLayoutSize(Unknown Source)
	at java.awt.Container.preferredSize(Unknown Source)
	at java.awt.Container.getPreferredSize(Unknown Source)
	at javax.swing.JComponent.getPreferredSize(Unknown Source)
	at java.awt.GridBagLayout.GetLayoutInfo(Unknown Source)
	at java.awt.GridBagLayout.getLayoutInfo(Unknown Source)
	at java.awt.GridBagLayout.ArrangeGrid(Unknown Source)
	at java.awt.GridBagLayout.arrangeGrid(Unknown Source)
	at java.awt.GridBagLayout.layoutContainer(Unknown Source)
	at java.awt.Container.layout(Unknown Source)
	at java.awt.Container.doLayout(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validateTree(Unknown Source)
	at java.awt.Container.validate(Unknown Source)
	at java.awt.Dialog.conditionalShow(Unknown Source)
	at java.awt.Dialog.show(Unknown Source)
	at java.awt.Component.show(Unknown Source)
	at java.awt.Component.setVisible(Unknown Source)
	at java.awt.Window.setVisible(Unknown Source)
	at java.awt.Dialog.setVisible(Unknown Source)
	at com.zbluesoftware.fsxp.startup.StartupDialog.showDialog(StartupDialog.java:98)
	at com.zbluesoftware.fsxp.FSXPlanner.<init>(FSXPlanner.java:179)
	at com.zbluesoftware.fsxp.FSXPlanner.main(FSXPlanner.java:108)
I can't compile any airport, not even "prepare options" button works.
Since first instalation I have same problem.
I'm using W7 64, FSX aceleration SDK
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

I've allready try reinstall several times (FSX Planner and Java), clean windows reg with tools and, as explanained in this thread, searched and manually deleted all entries related to ZBlueSoftware before install. I've installed it out of default directory (and partition) and left all options by default.
I've tried older Java version (1.5)

Thanks in advance.
 
Last edited:

scruffyduck

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
34,853
Country
unitedkingdom
I have similar problems with Win7 64bit. The program does not properly react to clicks etc. I am sorry that I am not able to offer a solution to this. The folks who developed the program have not been active for some time. Maybe someone who has FSXP running on Win7 64bit can help.

Otherwise there are programs that do the same job that we know do work with Win7 64bit (AFX which is payware from Flight1 and ADE which is freeware for example). If you have not gotten started then you might want to look at those as an alternative
 
Messages
5
Country
spain
Thank you very much scruffyduck, I've allready seen ADE, which is the most apropiated tool to do what I want. I tried FSXP because I liked it by the GUI much more friendly and understunding for me. In fact i used FSXP's .xml's to import certain objects into ADE.

Excuse me for my English, I know it's not fully correct. :)

If any one know something about this problem, I'll really apreciate the help. I think it's due to Java-W7 relation, not for the FSXP itself, as I've had some minor problems with other java aplications. In fact I thought that it's a problem in the 64 bit version of the SO.

Regards
 
Messages
127
Country
us-colorado
Java Exception on Start Up FSX P

Same problem! I cannot find a solution anywhere, I reinstalled FSX P and Java, cleaned out Reg.
It was working without issues, I did go into preferences and I was changing the gui...... between, Java, Steel, Windows.....this is when the exception revealed its ugly self.
Thank you so very much for your help!!!

Uncaught Exception:
java.lang.NullPointerException
at com.zbluesoftware.fsxp.ui.MainDisplay.addPropertyChangeListener(MainDisplay.java:394)
at javax.swing.plaf.synth.SynthPanelUI.installListeners(Unknown Source)
at javax.swing.plaf.synth.SynthPanelUI.installUI(Unknown Source)
at javax.swing.JComponent.setUI(Unknown Source)
at javax.swing.JPanel.setUI(Unknown Source)
at javax.swing.JPanel.updateUI(Unknown Source)
at javax.swing.JPanel.<init>(Unknown Source)
at javax.swing.JPanel.<init>(Unknown Source)
at javax.swing.JPanel.<init>(Unknown Source)
at com.zbluesoftware.fsxp.ui.MainDisplay.<init>(MainDisplay.java:49)
at com.zbluesoftware.fsxp.ui.MainDisplay.getInstance(MainDisplay.java:56)
at com.zbluesoftware.fsxp.FSXPlanner.<init>(FSXPlanner.java:153)
at com.zbluesoftware.fsxp.FSXPlanner.main(FSXPlanner.java:108)
 
Top