This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 85102 - 6.0 M2 grapical installer fails on Vista RC1
Summary: 6.0 M2 grapical installer fails on Vista RC1
Status: RESOLVED DUPLICATE of bug 85361
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-18 03:04 UTC by shemnon
Modified: 2006-10-23 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shemnon 2006-09-18 03:04:39 UTC
Any attempt to double click the installer ends with an error dialog "The
installer is unable to run in graphical mode. Try running the installer with the
-console or -silent flag."

Silent install works, console doesn't (looks like an intentional design choice
on -console, not the point of this bug).

running -is:log results in some stack traces before the failure.  

First, for 1.5.0_08

Found matching JVM at D:\Program Files\Java\jdk1.5.0_08
Matching JVM home is D:\Program Files\Java\jdk1.5.0_08
Matching JVM file is C:\Users\Someone\AppData\Local\Temp\LRE2F37.tmp
Executing launch script command: "D:\Program
Files\Java\jdk1.5.0_08/bin\java.exe" -cp
"";"C:\Users\Someone\AppData\Local\Temp\LRE2F38.tmp\setup.jar";""
-Dtemp.dir="C:\Users\Someone\AppData\Local\Temp" -Dis.jvm.home="D:\Program
Files\Java\jdk1.5.0_08" -Dsun.java2d.d3d=false -Dis.jvm.temp="0"
-Dis.media.home="C:\Users\Someone\AppData\Local\Temp\LRE2F38.tmp\setup.jar"
-Dis.launcher.file="C:\dl\java\ide\netbeans\netbeans-6_0-m2-bin-200608141200-windows-14_Aug_2006_1200.exe"
-Dis.jvm.file="C:\Users\Someone\AppData\Local\Temp\LRE2F37.tmp"
-Dis.external.home="C:\dl\java\ide\netbeans"   -Xms64m -Xmx96m  run  in working
directory C:\dl\java\ide\netbeans
Output from the launch script execution
StdOut:
(Sep 18, 2006 1:51:17 AM), Install,
com.installshield.wizard.StandardWizardListener, dbg,
java.lang.ArrayIndexOutOfBoundsException: 3136

java.lang.ArrayIndexOutOfBoundsException: 3136
	at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2.java:748)
	at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:248)
	at sun.awt.shell.ShellFolder.get(ShellFolder.java:221)
	at
com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.createValue(WindowsLookAndFeel.java:1865)
	at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:185)
	at javax.swing.UIDefaults.get(UIDefaults.java:130)
	at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
	at com.installshield.wizard.swing.SwingWizardUI.initialize(Unknown Source)
	at com.installshield.wizard.StandardWizardListener.wizardInitializing(Unknown
Source)
	at com.installshield.wizard.Wizard$WizardListenerInitializer.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:595)

(Sep 18, 2006 1:51:17 AM), Install,
com.installshield.wizard.StandardWizardListener, err, could not initialize
interface swing



Next, under jdk6 build 98

Found matching JVM at c:\Program Files\Java\jdk1.6.0
Matching JVM home is c:\Program Files\Java\jdk1.6.0
Matching JVM file is C:\Users\Someone\AppData\Local\Temp\LRECD18.tmp
Executing launch script command: "c:\Program Files\Java\jdk1.6.0/bin\java.exe"
-cp "";"C:\Users\Someone\AppData\Local\Temp\LRECD39.tmp\setup.jar";""
-Dtemp.dir="C:\Users\Someone\AppData\Local\Temp" -Dis.jvm.home="c:\Program
Files\Java\jdk1.6.0" -Dsun.java2d.d3d=false -Dis.jvm.temp="0"
-Dis.media.home="C:\Users\Someone\AppData\Local\Temp\LRECD39.tmp\setup.jar"
-Dis.launcher.file="C:\dl\java\ide\netbeans\netbeans-6_0-m2-bin-200608141200-windows-14_Aug_2006_1200.exe"
-Dis.jvm.file="C:\Users\Someone\AppData\Local\Temp\LRECD18.tmp"
-Dis.external.home="C:\dl\java\ide\netbeans"   -Xms64m -Xmx96m  run  in working
directory C:\dl\java\ide\netbeans
Output from the launch script execution
StdOut:
(Sep 17, 2006 7:53:15 PM), Install,
com.installshield.wizard.StandardWizardListener, dbg,
java.lang.ArrayIndexOutOfBoundsException: 3136

java.lang.ArrayIndexOutOfBoundsException: 3136
	at sun.awt.shell.Win32ShellFolder2.getFileChooserIcon(Win32ShellFolder2.java:800)
	at sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:274)
	at sun.awt.shell.ShellFolder.get(ShellFolder.java:218)
	at
com.sun.java.swing.plaf.windows.WindowsLookAndFeel$LazyWindowsIcon.createValue(WindowsLookAndFeel.java:2043)
	at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:199)
	at javax.swing.UIDefaults.get(UIDefaults.java:144)
	at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:44)
	at com.installshield.wizard.swing.SwingWizardUI.initialize(Unknown Source)
	at com.installshield.wizard.StandardWizardListener.wizardInitializing(Unknown
Source)
	at com.installshield.wizard.Wizard$WizardListenerInitializer.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:619)

(Sep 17, 2006 7:53:15 PM), Install,
com.installshield.wizard.StandardWizardListener, err, could not initialize
interface swing

This may need to get passed to macromedia themselves, but in the end some
resolution is needed to get Netbeans 6 installing under Vista, so don't close it
as InstallShields fault and require zip file installation!
Comment 1 mslama 2006-09-19 13:28:41 UTC
Please make sure you use JDK 6.0 build 98 as you said. (You can use -is:javahome
command line switch to select JDK.) This is known issue and according to
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6449933 it was fixed in build
96. If it still happens please check with FileChooserDemo and Win L&F. If it
still happens (there could be another change in new Vista build so it could
happen again) we need to file new issue against JDK. Please either file new bug
against JDK or let me know so I can file it myself. Do you know what is build
number of your Vista (what version for completness)? I will check what Vista
build we have here.
Comment 2 mslama 2006-09-26 07:39:20 UTC
See issue #85361 for more details.

*** This issue has been marked as a duplicate of 85361 ***