1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FSXA Java Exception on startup

Discussion in 'FSX Planner' started by Elensar, 12/3/11.

  1. Elensar

    Elensar

    Joined:
    12/3/11
    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: 12/3/11
  2. scruffyduck

    scruffyduck Administrator Staff Member FSDevConf team Resource contributor

    Joined:
    17/9/05
    Messages:
    24,130
    Country:
    wales
    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
  3. Elensar

    Elensar

    Joined:
    12/3/11
    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
  4. wardorichie

    wardorichie

    Joined:
    6/3/13
    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)

Share This Page