Whenever I add a JFace viewer, I get the following error:
org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed: ContentViewer must have a content provider when input is set.
at org.eclipse.jface.util.Assert.isTrue(Assert.java:168)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:229)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:983)
at gui.GUI.main(GUI.java:149)
Exception in thread "main"
I think I may be missing a jar. For the record, I have swt, jface, runtime, and boot all in the build path. What could be causing this error?