ExceptionInitializerError when deploying eclipse product [message #522549] |
Tue, 23 March 2010 01:40 |
czetsuya Messages: 9 Registered: March 2010 Location: Philippines |
Junior Member |
|
|
Hi,
Need help .
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
http://czetsuya-tech.blogspot.com
[Updated on: Tue, 23 March 2010 08:57] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03221 seconds