Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » probelms with TreeViewer.setInput(...)
probelms with TreeViewer.setInput(...) [message #117987] Sat, 28 August 2004 21:03 Go to next message
Eclipse UserFriend
Originally posted by: simon.ou.edu

Hi...

I hope that all is well.

1. Eclipse 3.1 M1
2. jre1.4.2_05

When I try to run the tree viewer example 'Explorer' in:

http://www-106.ibm.com/developerworks/opensource/library/os- ecgui1/


I get the error message bellow (all compiles well, and I have the proper
imports as per the example). I also set the variable in the 'VM
arguments' tab

-Djava.library.path=C:\eclipse\plugins\org.eclipse.swt.win32 _3.1.0\os\win32\x86

The offending line is:

tv.setInput(new File("C:\\"));

I have tried other examples (from other sources) with the same result.
DO I need to set another inputs for the VM at run time? Thanks.

Regards...

Miguel.




java.lang.NoClassDefFoundError: org/osgi/framework/InvalidSyntaxException
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.jface.viewers.StructuredViewer.updateItem(Struct uredViewer.java:1432)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:402)
at
org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:381)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:361)
at
org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractT reeViewer.java:832)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:901)
at
org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:822)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:248)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1107)
at examples.ch14.FileTree.createContents(FileTree.java:68)
at org.eclipse.jface.window.Window.create(Window.java:356)
at org.eclipse.jface.window.Window.open(Window.java:661)
at examples.ch14.FileTree.run(FileTree.java:30)
at examples.ch14.FileTree.main(FileTree.java:90)
Exception in thread "main"
sorry... wrong news group... [message #118000 is a reply to message #117987] Sat, 28 August 2004 21:06 Go to previous message
Eclipse UserFriend
Originally posted by: simon.ou.edu

Hi...

I am sorry, I posted to the wrong news group. I apologize.

Regards...

Miguel.
Previous Topic:Better control of workspace & project files location
Next Topic:Plan to add support to the C/C++ code parser to the Kernighan and Ritchie Style?
Goto Forum:
  


Current Time: Wed Apr 30 15:13:37 EDT 2025

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

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

Back to the top