Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Unable to create jpaDetailsView
Unable to create jpaDetailsView [message #602414] Fri, 06 July 2007 02:05
Florian Reiser is currently offline Florian Reiser
Messages: 25
Registered: July 2009
Junior Member
Hello,

I have created a entity bean 3.0 in eclipse 3.3
When closing eclipse and restarting, I couldn't start it anymore because
I did not activate the autoconnect on my database connection.

After getting eclipse to work by manually deleting the editors section out
of workbench.xml, I now get the following error.

What can I do to get it working again?

With kind regards
Florian Reiser
http://www.ra-bc.de

---- Error display ---

Unable to create view ID org.eclipse.jpt.ui.jpaDetailsView:
org.eclipse.jdt.core.dom.InfixExpression

Stack trace:

java.lang.ClassCastException: org.eclipse.jdt.core.dom.InfixExpression
at
org.eclipse.jpt.core.internal.jdtutility.StringExpressionCon verter.convert_(StringExpressionConverter.java:1)
at
org.eclipse.jpt.core.internal.jdtutility.AbstractExpressionC onverter.convert(AbstractExpressionConverter.java:40)
at
org.eclipse.jpt.core.internal.jdtutility.ConversionDeclarati onAnnotationElementAdapter.getValue(ConversionDeclarationAnn otationElementAdapter.java:95)
at
org.eclipse.jpt.core.internal.jdtutility.MemberAnnotationEle mentAdapter.getValue(MemberAnnotationElementAdapter.java:43)
at
org.eclipse.jpt.core.internal.jdtutility.ShortCircuitAnnotat ionElementAdapter.getValue(ShortCircuitAnnotationElementAdap ter.java:47)
at
org.eclipse.jpt.core.internal.content.java.mappings.JavaAbst ractQuery.updateFromJava(JavaAbstractQuery.java:553)
at
org.eclipse.jpt.core.internal.content.java.mappings.JavaEnti ty.updateNamedQueriesFromJava(JavaEntity.java:2629)
at
org.eclipse.jpt.core.internal.content.java.mappings.JavaEnti ty.updateFromJava(JavaEntity.java:2377)
at
org.eclipse.jpt.core.internal.content.java.JavaPersistentTyp e.updateFromJava(JavaPersistentType.java:670)
at
org.eclipse.jpt.core.internal.content.java.JpaCompilationUni t.synchronizePersistentTypes(JpaCompilationUnit.java:406)
at
org.eclipse.jpt.core.internal.content.java.JpaCompilationUni t.setFile(JpaCompilationUnit.java:325)
at
org.eclipse.jpt.core.internal.content.java.JavaJpaFileConten tProvider.buildRootContent(JavaJpaFileContentProvider.java:3 0)
at
org.eclipse.jpt.core.internal.JpaFileContentRegistry.buildCo ntent(JpaFileContentRegistry.java:60)
at
org.eclipse.jpt.core.internal.JpaFileContentRegistry.getFile (JpaFileContentRegistry.java:44)
at
org.eclipse.jpt.core.internal.JpaProject.createJpaFile(JpaPr oject.java:630)
at org.eclipse.jpt.core.internal.JpaProject.getJpaFile(JpaProje ct.java:518)
at
org.eclipse.jpt.core.internal.JpaModelManager.getJpaFile(Jpa ModelManager.java:238)
at
org.eclipse.jpt.core.internal.JptCorePlugin.getJpaFile(JptCo rePlugin.java:91)
at
org.eclipse.jpt.ui.internal.selection.TextEditorSelectionPar ticipant.persistenceFileFor(TextEditorSelectionParticipant.j ava:115)
at
org.eclipse.jpt.ui.internal.selection.TextEditorSelectionPar ticipant.calculateSelection(TextEditorSelectionParticipant.j ava:88)
at
org.eclipse.jpt.ui.internal.selection.TextEditorSelectionPar ticipant. <init>(TextEditorSelectionParticipant.java:49)
at
org.eclipse.jpt.ui.internal.selection.SelectionParticipantFa ctory.getAdapter(SelectionParticipantFactory.java:30)
at
org.eclipse.core.internal.runtime.AdapterFactoryProxy.getAda pter(AdapterFactoryProxy.java:61)
at
org.eclipse.core.internal.runtime.AdapterManager.getAdapter( AdapterManager.java:277)
at org.eclipse.ui.part.WorkbenchPart.getAdapter(WorkbenchPart.j ava:150)
at
org.eclipse.ui.texteditor.AbstractTextEditor.getAdapter(Abst ractTextEditor.java:5786)
at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.getAda pter(AbstractDecoratedTextEditor.java:1175)
at
org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.getAdapter (JavaEditor.java:1826)
at
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor .getAdapter(CompilationUnitEditor.java:1683)
at
org.eclipse.jpt.ui.internal.selection.SelectionManager.initP art(SelectionManager.java:87)
at
org.eclipse.jpt.ui.internal.selection.SelectionManager.initP age(SelectionManager.java:71)
at
org.eclipse.jpt.ui.internal.selection.SelectionManager.init( SelectionManager.java:63)
at
org.eclipse.jpt.ui.internal.selection.SelectionManagerFactor y.internalGetSelectionManager(SelectionManagerFactory.java:7 8)
at
org.eclipse.jpt.ui.internal.selection.SelectionManagerFactor y.getSelectionManager(SelectionManagerFactory.java:47)
at
org.eclipse.jpt.ui.internal.views.AbstractJpaView.createPart Control(AbstractJpaView.java:52)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:370)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:227)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:29 9)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:53 1)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:179)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:400)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1209)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:16 04)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:649)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.ja va:576)
at
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:563)
at
org.eclipse.ui.internal.PerspectiveHelper.activate(Perspecti veHelper.java:270)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:931)
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3461)
at
org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:988)
at org.eclipse.ui.internal.WorkbenchPage.access$17(WorkbenchPag e.java:972)
at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.j ava:3560)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3558)
at
org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMenu.java:92)
at org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:336)
at
org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:352)
at
org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(Perspe ctiveMenu.java:108)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
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(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
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(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
Previous Topic:Dali 1.0 is now available!
Next Topic:BEA releases WebLogic Server Tools for Eclipse 3.3
Goto Forum:
  


Current Time: Wed Jul 30 19:28:33 EDT 2014

Powered by FUDForum. Page generated in 0.05971 seconds