Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345448 - JFileChooser on Win7 64bit in debug mode
Summary: JFileChooser on Win7 64bit in debug mode
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 11:32 EDT by Vladimir CLA
Modified: 2011-05-11 12:33 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir CLA 2011-05-11 11:32:26 EDT
Build Identifier:  20110218-0911


Hi, this code only in debug mode (not in run) with only JDK 6.18,  6.24, 6.25  (not with JRE 1.6)

	public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException
	{	
    JFileChooser chooser = new JFileChooser();
	}
	
	
	fail with 
	
	Exception in thread "main" java.lang.NullPointerException
	at sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:230)
	at sun.awt.shell.Win32ShellFolder2$1.call(Win32ShellFolder2.java:225)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at sun.awt.shell.Win32ShellFolderManager2$ComInvoker$3.run(Win32ShellFolderManager2.java:492)
	at java.lang.Thread.run(Thread.java:662)
	
	
	I use WIN 7 64 bit
	

-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi

Reproducible: Always

Steps to Reproduce:
1.use my code
2. select JDK (not JRE)
3.  debug (not start)
Comment 1 Remy Suen CLA 2011-05-11 11:44:20 EDT
The trace is different but probably the same problem.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6973685
Comment 2 Michael Rennie CLA 2011-05-11 12:33:22 EDT
(In reply to comment #1)
> The trace is different but probably the same problem.
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6973685

Thanks for looking this up Remy