Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » com.sun.jdi.ClassNotLoadedException: Type not loaded
com.sun.jdi.ClassNotLoadedException: Type not loaded [message #465155] Fri, 23 March 2007 14:37
Sebastien Pennec is currently offline Sebastien PennecFriend
Messages: 31
Registered: July 2009
Member
Hello,

While unit-testing my plugin, I try to send content to it, then verify that the
content is displayed.

To retrieve the content of my plugin, I do the following:

TableViewer viewer = (TableViewer) view.getViewer();

TableItem[] items = viewer.getTable().getItems();
assertEquals(a_certain_number_of_expected_elements, items.length);

TableItem lastItem = items[items.length-1];
assertEquals("some string", lastItem.getText());

Basically, I check first the number of items in the table, then check the last item's
content.

The table is a virtual table.

Each time I try to get the TableItem array, I can see the following Exception in the
debugger:

org.eclipse.debug.core.DebugException: com.sun.jdi.ClassNotLoadedException: Type has
not been loaded occurred while retrieving component type of array.

While running, the array is always empty, although when the test run I can see that
some elements are displayed in the view.

Can anybody help me understand what is going on?

Thanks a lot! :)

Sébastien
Previous Topic:Recommendation for new developer
Next Topic:Production Configuration & Update Manager Errors
Goto Forum:
  


Current Time: Sat Oct 12 00:23:28 GMT 2024

Powered by FUDForum. Page generated in 0.03391 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top