Community
Participate
Working Groups
WTP build: S-3.0RC1-20080516071848 Exception with following stacktrace is thrown when adding a link on the FacesConfig Editor's "Navigation Rule" page: org.eclipse.core.runtime.AssertionFailedException: assertion failed: ContentViewer must have a content provider when input is set. at org.eclipse.core.runtime.Assert.isTrue(Assert.java:111) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:243) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1603) at org.eclipse.jst.jsf.facesconfig.ui.section.OverviewNavigationSection.refreshAll(OverviewNavigationSection.java:202) at org.eclipse.jst.jsf.facesconfig.ui.section.OverviewNavigationSection$OverviewNavigationSectionAdapter.notifyChanged(OverviewNavigationSection.java:336) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:247) at org.eclipse.emf.ecore.util.EcoreEList.dispatchNotification(EcoreEList.java:255) at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:300) at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:626) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.synchronization.FC2PFTransformer.createFacesCase(FC2PFTransformer.java:285) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.synchronization.FC2PFTransformer.addLink(FC2PFTransformer.java:437) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.synchronization.PF2FCSynchronizer.addInLink(PF2FCSynchronizer.java:178) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.synchronization.PF2FCSynchronizer.processChange(PF2FCSynchronizer.java:102) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.synchronization.PF2FCSynchronizer.notifyChanged(PF2FCSynchronizer.java:74) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:247) at org.eclipse.emf.common.notify.impl.NotificationImpl.dispatch(NotificationImpl.java:1030) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.model.impl.PageflowLinkImpl.setTarget(PageflowLinkImpl.java:284) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.model.impl.PageflowImpl.connect(PageflowImpl.java:381) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.command.AddConnectionCommand.doExecute(AddConnectionCommand.java:62) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.command.ConnectionCommand.execute(ConnectionCommand.java:72) at org.eclipse.gef.commands.CommandStack.execute(CommandStack.java:170) at org.eclipse.jst.jsf.facesconfig.ui.pageflow.command.PreExecuteCommandStack.execute(PreExecuteCommandStack.java:47) at org.eclipse.gef.tools.AbstractTool.executeCommand(AbstractTool.java:399) at org.eclipse.gef.tools.AbstractTool.executeCurrentCommand(AbstractTool.java:411) at org.eclipse.gef.tools.AbstractConnectionCreationTool.handleCreateConnection(AbstractConnectionCreationTool.java:241) at org.eclipse.gef.tools.ConnectionCreationTool.handleButtonDown(ConnectionCreationTool.java:73) at org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.java:975) at org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:215) at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMousePressed(DomainEventDispatcher.java:342) at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:513) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3801) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3400) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2387) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2351) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2203) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
I cannot reproduce this issue when running build S-3.0RC1-20080516071848 on a workspace containing all HEAD JSF Tools plugins and launching a runtime workbench from it. I can only reproduce when running directly from the build. This would suggest our code is not broken, but the build system is not correctly building our code in some way.
Verified fixed in build S-3.0RC1-20080517195317 See bug 232588 for more info.
Bug has no specific assignee, but has been verified fixed by project lead in build S-3.0RC1-20080517195317. Closing.