[JBoss JIRA] Created: (JBIDE-3636) Error opening persistence.xml in Eclipse with Dali 2.1
by Luigi Quattrocchi (JIRA)
Error opening persistence.xml in Eclipse with Dali 2.1
------------------------------------------------------
Key: JBIDE-3636
URL: https://jira.jboss.org/jira/browse/JBIDE-3636
Project: Tools (JBoss Tools)
Issue Type: Bug
Environment: Windows XP SP2
Eclipse Ganymede JEE SR1 with Dali 2.1 and Hibernate Tools 3.2.4.CR1
Reporter: Luigi Quattrocchi
Creating a new JPA project and configuring it to use Hibernate and Tomcat 6 when I try to open the persistence.xml file I get the error shown below.
Using Dali ver. 2.0 everything works fine.
=================================================
ERROR GENERATED TRYING TO OPEN PERSISTENCE.XML
eclipse.buildId=M20080911-1700
java.version=1.6.0_10
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=it_IT
Command-line arguments: -os win32 -ws win32 -arch x86
Error
Mon Jan 26 15:18:39 CET 2009
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
java.lang.InstantiationError: org.eclipse.jpt.ui.internal.persistence.details.PersistenceUnitGeneralComposite
at org.jboss.tools.hibernate.jpt.ui.internal.platform.HibernateUiFactory.createPersistenceUnitComposites(HibernateUiFactory.java:27)
at org.eclipse.jpt.ui.internal.editors.PersistenceEditor.addPersistenceUnitPages(PersistenceEditor.java:130)
at org.eclipse.jpt.ui.internal.editors.PersistenceEditor.addPages(PersistenceEditor.java:109)
at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:146)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:310)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:266)
at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(WorkbenchPage.java:1246)
at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1204)
at org.eclipse.ui.internal.WorkbenchPage.partAdded(WorkbenchPage.java:1665)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:210)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:779)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:678)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:639)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2817)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2635)
at org.eclipse.jpt.ui.internal.actions.OpenJpaResourceAction.openEditor(OpenJpaResourceAction.java:92)
at org.eclipse.jpt.ui.internal.actions.OpenJpaResourceAction.run(OpenJpaResourceAction.java:73)
at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
at org.eclipse.ui.internal.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:184)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:880)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:372)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
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:113)
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:386)
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)
--
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
17 years, 1 month
[JBoss JIRA] Created: (JBIDE-3733) JBoss ESB classpath container does not set source attachment location
by John Graham (JIRA)
JBoss ESB classpath container does not set source attachment location
---------------------------------------------------------------------
Key: JBIDE-3733
URL: https://jira.jboss.org/jira/browse/JBIDE-3733
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: esb
Affects Versions: 3.0.0.CR2
Reporter: John Graham
Assignee: Denny Xu
Priority: Critical
Fix For: 3.0.0.GA
*Fresh install of JBT 3.0 or JBDS 2.0*
1. Define a SOA-P 4.3 runtime environment and server connection
2. Create an ESB project, using the defined SOA-P 4.3 environment
3. In the ESB runtime classpath container, locate jbossesb-rosetta.jar
4. Right click on jbossesb-rosetta.jar and set the source code to point at the attached jar
5. Expand into a jbossesb-rosetta.jar package, and double click on a class
6. Notice that the Eclipse editor says that the source code can not be found
7. Open the JBoss AS classpath container
8. Locate jboss-ejb3.jar and attach the source zip provided here
9. Expand into a jboss-ejb3.jar package, and double click on a class
10. Notice that the source code for the class is found and displayed in an editor
11. Notice that the source code for jbossesb-rosetta.jar classes also are now found, and can be displayed in the editor
The expected behavior would be finding the source code for jbossesb-rosetta.jar after setting only the source attachment for it in the JBoss ESB classpath container.
--
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
17 years, 1 month
[JBoss JIRA] Created: (JBIDE-3702) error in log after editing server
by Max Rydahl Andersen (JIRA)
error in log after editing server
---------------------------------
Key: JBIDE-3702
URL: https://jira.jboss.org/jira/browse/JBIDE-3702
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.0.0.CR2
Reporter: Max Rydahl Andersen
Fix For: 3.0.0.GA
Not sure what cause it but I got this when editing server launch config - didn't see the exception until after closing the launch config and afterwards I couldn't start/stop any servers since all "run on server" menu items were gone (not sure if that was related but it was the only error i could see/find)
java.lang.ArrayIndexOutOfBoundsException: 3
at org.jboss.ide.eclipse.as.core.util.ArgsUtil.getValue(ArgsUtil.java:57)
at org.jboss.ide.eclipse.as.core.util.ArgsUtil.getValue(ArgsUtil.java:51)
at org.jboss.ide.eclipse.as.ui.launch.JBossLaunchConfigurationTabGroup$JavaArgumentsTabExtension.isValid(JBossLaunchConfigurationTabGroup.java:85)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.refresh(LaunchConfigurationTabGroupViewer.java:520)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationPropertiesDialog.updateButtons(LaunchConfigurationPropertiesDialog.java:209)
at org.eclipse.debug.ui.AbstractLaunchConfigurationTab.updateLaunchConfigurationDialog(AbstractLaunchConfigurationTab.java:89)
at org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab.access$0(JavaArgumentsTab.java:1)
at org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab$1.modifyText(JavaArgumentsTab.java:113)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:167)
--
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
17 years, 1 month
[JBoss JIRA] Created: (JBIDE-3585) in Smooks GUI during a mapping operation when the user makes a drag and drop operation from source to target, mouse icon is loosing the drag&drop
by Dirk Pitt (JIRA)
in Smooks GUI during a mapping operation when the user makes a drag and drop operation from source to target, mouse icon is loosing the drag&drop
-------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-3585
URL: https://jira.jboss.org/jira/browse/JBIDE-3585
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.0.0.cr1
Environment: Gaynmede, JBoss Tools Nightly 19.1.2009, JDK 1.5
Reporter: Dirk Pitt
I see this exception in the logs, I think it is responsable from it
!ENTRY org.eclipse.ui 4 0 2009-01-19 10:47:51.511
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 5
at org.jboss.tools.smooks.ui.gef.figures.CurveLineConnection.getCenterCurvePoints(CurveLineConnection.java:53)
at org.jboss.tools.smooks.ui.gef.figures.CurveLineConnection.getcenterCurvePointList(CurveLineConnection.java:67)
at org.jboss.tools.smooks.ui.gef.figures.CurveLineConnection.getBounds(CurveLineConnection.java:98)
at org.eclipse.draw2d.Polyline.containsPoint(Polyline.java:58)
at org.eclipse.draw2d.Layer.containsPoint(Layer.java:36)
at org.eclipse.draw2d.Layer.containsPoint(Layer.java:36)
at org.eclipse.draw2d.Figure.findFigureAt(Figure.java:363)
at org.eclipse.draw2d.Layer.findFigureAt(Layer.java:52)
at org.eclipse.draw2d.Figure.findDescendantAtExcluding(Figure.java:336)
at org.eclipse.draw2d.Figure.findFigureAt(Figure.java:367)
at org.eclipse.draw2d.Figure.findDescendantAtExcluding(Figure.java:336)
at org.eclipse.draw2d.Figure.findFigureAt(Figure.java:367)
at org.eclipse.draw2d.Figure.findFigureAt(Figure.java:356)
at org.eclipse.draw2d.SWTEventDispatcher.updateFigureUnderCursor(SWTEventDispatcher.java:519)
at org.eclipse.draw2d.SWTEventDispatcher.receive(SWTEventDispatcher.java:331)
at org.eclipse.draw2d.SWTEventDispatcher.dispatchMouseMoved(SWTEventDispatcher.java:224)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseMoved(DomainEventDispatcher.java:351)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseMove(LightweightSystem.java:533)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:199)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
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:113)
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:386)
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:585)
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)
--
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
17 years, 1 month