Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ExceptionInitializerError when deploying eclipse product
ExceptionInitializerError when deploying eclipse product [message #522549] Mon, 22 March 2010 21:40
Eclipse UserFriend
Hi,

Need help Very Happy.

I have create plugins in eclipse-rcp and I can run it successfully in the eclipse rcp. Even after creating a product configuration it run ok.

Unfortunately, when I deployed the product using the Eclipse "Export Product export wizard", I got "ExceptionInitializerError".

Error:
java.lang.ExceptionInInitializeError
at org....Wizard.createViewer...
Line: 83

Code:
tableViewer = new TableViewer(parent, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION | SWT.BORDER);

createColumns(parent, tableViewer);
tableViewer.setContentProvider(new DMSContentProvider());

dmsLabelProvider = new DMSLabelProvider(tableViewer); //Line 83 - error occurred here

tableViewer.setLabelProvider(dmsLabelProvider);
// Get the content for the viewer, setInput will call getElements in the
// Set the sorter for the table
tableSorter = new DMSTableSorter();
tableViewer.setSorter(tableSorter);
tableFilter = new TableFilter();
tableViewer.addFilter(tableFilter);


Note: it works fine when I run plugin.xml


Solved, I miss including some resource in one of the plugins Build Configuration
[/edit]

Thanks,
czetsuya

[Updated on: Tue, 23 March 2010 04:57] by Moderator

Previous Topic:How can this be? IWorkspaceRoot exists, IProject[].length is 0
Next Topic:How to re-arrange Table Columns programatically
Goto Forum:
  


Current Time: Sat Jun 21 04:27:45 EDT 2025

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

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

Back to the top