DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Problem debugging SWT/JFace code...
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Aug 2008
Question Problem debugging SWT/JFace code... - 08-01-2008, 04:31 AM

Hello there,

I’m relatively new in the Eclipse RCP and I’m debugging a simple SWT/JFace stand alone application.

While stepping into Window class constructor -> this(new SameShellProvider(parentShell)); and before actually going to SameShellProvider constructor, I get a “source not found” and a “Edit source Lookup path” button and the following stack on the Debug view:
ClassNotFoundException(Throwable).<init>(String, Throwable) line: 217
ClassNotFoundException(Exception).<init>(String, Throwable) line: not available
ClassNotFoundException.<init>(String) line: not available
ClassLoader.findBootstrapClass(String) line: not available [native method]
Launcher$ExtClassLoader(ClassLoader).findBootstrap Class0(String) line: not available
Launcher$ExtClassLoader(ClassLoader).loadClass(Str ing, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(Str ing, boolean) line: not available
Launcher$AppClassLoader.loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(Str ing) line: not available
Launcher$AppClassLoader(ClassLoader).loadClassInte rnal(String) line: not available
WidgetWindow(Window).<init>(Shell) line: 263

I have already checked that SWT/JFace sources are loaded in a dependent project…

Any help?

Many thanks,

J
Reply With Quote
  (#2 (permalink)) Old
Member
 
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Aug 2008
Default 08-19-2008, 05:37 PM

I haven't used the RCP platform much, but:

Window(new SameShellProvider(parentShell)) should always go into the SameShellProvider constructor first, and then the other Window constructor, unless parentShell had not yet been initialized, but I believe that always happens before the constructor is ever entered (the first one that this is being called from). So there's nothing else it could be doing before going into the SameShellProvider constructor.

I would guess it can't find SameShellProvider. Is that a class in your solution, or a third party library?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem while invoking web service through code ashu47202 Java 4 10-09-2009 01:57 PM
Please suggest a C++ source code analysis tool for debugging memory leak Steve martin C & C++ 5 08-12-2009 02:55 AM
Remote debugging problem in application startup code satisha123 Eclipse 0 12-24-2008 05:52 AM
Interpret C code in java Code sammyac Java 0 10-15-2008 09:17 AM
Plz Help JFace Wizards (Urgent) ajaydeshwal Java 0 03-28-2008 10:27 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com