Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » ExceptionInitializerError when deploying eclipse product
ExceptionInitializerError when deploying eclipse product [message #522549] Tue, 23 March 2010 01:40
czetsuya is currently offline czetsuyaFriend
Messages: 9
Registered: March 2010
Location: Philippines
Junior Member
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 08:57]

Report message to a 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 Apr 20 04:28:38 GMT 2024

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

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

Back to the top