[
https://jira.jboss.org/jira/browse/JBIDE-3739?page=com.atlassian.jira.plu...
]
Maxim Areshkau commented on JBIDE-3739:
---------------------------------------
I can't reproduce this issue, but it's looks like used old version of eclipse.
Update eclipse can solve this issue.
Drag and drop of h:dataTable or rich:dataTable from palette onto XTML
page fails
--------------------------------------------------------------------------------
Key: JBIDE-3739
URL:
https://jira.jboss.org/jira/browse/JBIDE-3739
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.0.0.CR2
Environment: eclipse.buildId=200804301204-nightly
java.version=1.6.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
Reporter: Max Katz
Assignee: Maxim Areshkau
Priority: Minor
Fix For: 3.0.0.GA
Drag and drop h:dataTable or rich:dataTable from the palette onto XHTML page (source
view)
Wizard is not shown (dialog window to set properties)
Exception from error log:
eclipse.buildId=200804301204-nightly
java.version=1.6.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
Error
Fri May 09 12:52:47 PDT 2008
Unhandled event loop exception
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
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:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
Caused by: java.lang.NullPointerException
at org.jboss.tools.jsf.model.pv.JSFProjectsTree.getProjectsRoot(JSFProjectsTree.java:45)
at
org.jboss.tools.jsf.model.pv.JSFPromptingProvider.buildBean(JSFPromptingProvider.java:284)
at
org.jboss.tools.jsf.model.pv.JSFPromptingProvider.buildBeanProperties(JSFPromptingProvider.java:268)
at
org.jboss.tools.jsf.ui.wizard.palette.DataTableWizardPage.getAvailableProperties(DataTableWizardPage.java:349)
at
org.jboss.tools.jsf.ui.wizard.palette.DataTableWizardPage.access$0(DataTableWizardPage.java:344)
at
org.jboss.tools.jsf.ui.wizard.palette.DataTableWizardPage$XChildrenEditorImpl.updateBar(DataTableWizardPage.java:314)
at
org.jboss.tools.common.model.ui.objecteditor.XChildrenEditor.enableSelectionListener(XChildrenEditor.java:169)
at
org.jboss.tools.common.model.ui.objecteditor.XChildrenEditor.createControl(XChildrenEditor.java:80)
at
org.jboss.tools.jsf.ui.wizard.palette.DataTableWizardPage.fillGeneralOption(DataTableWizardPage.java:191)
at
org.jboss.tools.jsf.ui.wizard.palette.DataTableWizardPage.showAttributes(DataTableWizardPage.java:128)
at
org.jboss.tools.jsf.ui.wizard.palette.DataTableWizardPage.createControl(DataTableWizardPage.java:93)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:543)
at org.eclipse.jface.window.Window.create(Window.java:426)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1083)
at org.eclipse.jface.window.Window.open(Window.java:785)
at
org.jboss.tools.common.model.ui.editors.dnd.DefaultDropCommand.execute(DefaultDropCommand.java:90)
at org.jboss.tools.jst.jsp.jspeditor.JSPTextEditor$3.run(JSPTextEditor.java:751)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129)
... 22 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira