PDA

View Full Version : Build error when running command line



JSchunck
04-23-2003, 01:43 PM
I am getting the following error when I build my project file using ISMP 5.0. I am building in a build environment that uses the java command to execute the build (java -cp <classes> ..., etc.). If I build under the IDE, I do not see the error. Is there some kind of compatibility problem with java perhaps, the java that I am using is 1.3.0.

Problem with constructor javax.swing.plaf.FontUIResource and args {Dialog,0,12} : and types {class java.lang.String,int,int} : java.lang.reflect.InvocationTargetException
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1007)
at javax.swing.UIDefaults$ProxyLazyValue.createValue(UIDefaults.java:663)
at javax.swing.UIDefaults.get(UIDefaults.java(Compiled Code))
at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java(Compiled Code))
at javax.swing.UIDefaults.getFont(UIDefaults.java:223)
at javax.swing.UIManager.getFont(UIManager.java:494)
at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:96)
at javax.swing.plaf.basic.BasicPanelUI.installDefaults(BasicPanelUI.java:57)
at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:48)
at javax.swing.JComponent.setUI(JComponent.java:327)
at javax.swing.JPanel.updateUI(JPanel.java:109)
at javax.swing.JPanel.<init>(JPanel.java:69)
at javax.swing.JPanel.<init>(JPanel.java:99)
at com.installshield.wizard.swing.SwingWizardPanelImpl.<init>(SwingWizardPanelImpl.java:6)
at com.installshield.wizard.swing.DefaultSwingWizardPanelImpl.<init>(DefaultSwingWizardPanelImpl.java:9)
at com.installshield.wizardx.panels.TextDisplayPanelSwingImpl.<init>(TextDisplayPanelSwingImpl.java:12)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java(Compiled Code))
at com.installshield.wizard.WizardPanel.build(WizardPanel.java:413)
at com.installshield.wizardx.panels.TextDisplayPanel.build(TextDisplayPanel.java:460)
at com.installshield.product.wizardbeans.InstallCheckPanel.build(InstallCheckPanel.java:218)
at com.installshield.wizard.Wizard.buildWizardBean(Wizard.java:2080)
at com.installshield.wizard.Wizard.buildWizardTree(Wizard.java:2028)
at com.installshield.wizard.Wizard.build(Wizard.java:1873)
at com.installshield.wizard.WizardWriter.write(WizardWriter.java(Compiled Code))
at com.installshield.isje.build.Builder.run(Builder.java:27)
at java.lang.Thread.run(Thread.java:498)

dajacques
06-25-2003, 02:30 PM
I'm seeing this same error and am wondering if there was any resolution to this.


Thanks,
David.

brianl
06-25-2003, 07:44 PM
Hi,

See this thread:

http://community.installshield.com/showthread.php?s=&threadid=117886

Is this the same issue you are seeing?

dajacques
06-26-2003, 10:48 AM
I wasn't seeing the exception in the thread you pointed to, but export'ing the DISPLAY did the trick.


Thanks,
David.

brianl
06-26-2003, 10:50 AM
David,

This is an issue that we just discovered with ISMP 5.0. You can avoid this problem either by exporting DISPLAY or by building with a 1.4.x JVM.