Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Database browsing issue
Database browsing issue [message #117977] Fri, 08 July 2005 08:54 Go to next message
Eclipse UserFriend
Originally posted by: susanne.deiters.gmail.com

Hi all,

I'm using WTP 1.0 M5 with Eclipse 3.1.

I've successfully established a connection to an Oracle database using
Server Explorer and the schemas of the db are shown. But I have two
problems:

1. No columns are shown for the tables
2. In a former WTP version there was the option data -> browse when
rightclicking a table, which resulted in table data being shown in view
Data Output (former DB Output). There's no browse option anymore and I'm
not able to get the data into view Data Output.

Any ideas?

Thanks in advance,
Susanne
Re: Database browsing issue [message #117991 is a reply to message #117977] Fri, 08 July 2005 09:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cooll.free.fr

Susanne Deiters wrote:
> Hi all,
>
> I'm using WTP 1.0 M5 with Eclipse 3.1.
> 1. No columns are shown for the tables

Same problem for me.
Here is the exception I get when trying to display the columns of a table:

org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBounds Exception:
index=0, size=0
at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:5 11)
at
org.eclipse.wst.rdb.data.internal.ui.editor.CursorAction.isC olumnNullable(Ta
bleDataEditorActionBarContributor.java:209)
at
org.eclipse.wst.rdb.data.internal.ui.editor.TableDataEditorA ctionBarContribu
tor$4.isEnabled(TableDataEditorActionBarContributor.java:57)
at
org.eclipse.jface.action.ActionContributionItem.update(Actio nContributionIte
m.java:815)
at
org.eclipse.jface.action.ActionContributionItem.fill(ActionC ontributionItem.
java:281)
at
org.eclipse.jface.action.SubContributionItem.fill(SubContrib utionItem.java:6
5)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :627)
at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.j ava:721)
at org.eclipse.jface.action.MenuManager.update(MenuManager.java :646)
at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.j ava:721)
at
org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(Wor kbenchWindow.jav
a:2485)

followed by:

Unhandled event loop exception

and:

java.lang.ArrayIndexOutOfBoundsException: 0
at
org.eclipse.jface.viewers.TableEditorImpl.activateCellEditor (TableEditorImpl
..java:70)
at
org.eclipse.jface.viewers.TableEditorImpl.activateCellEditor (TableEditorImpl
..java:145)
at
org.eclipse.jface.viewers.TableEditorImpl.handleMouseDown(Ta bleEditorImpl.ja
va:271)
at org.eclipse.jface.viewers.TableViewer$2.mouseDown(TableViewe r.java:608)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:133)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
Re: Database browsing issue [message #118056 is a reply to message #117991] Fri, 08 July 2005 09:47 Go to previous message
Eclipse UserFriend
Originally posted by: susanne.deiters.gmail.com

Lionel wrote:
> Susanne Deiters wrote:
>
>>Hi all,
>>
>>I'm using WTP 1.0 M5 with Eclipse 3.1.
>>1. No columns are shown for the tables
>
>
> Same problem for me.
> Here is the exception I get when trying to display the columns of a table:
>
> org.eclipse.emf.common.util.BasicEList$BasicIndexOutOfBounds Exception:
> index=0, size=0
> at org.eclipse.emf.common.util.BasicEList.get(BasicEList.java:5 11)
> at
> org.eclipse.wst.rdb.data.internal.ui.editor.CursorAction.isC olumnNullable(Ta
> bleDataEditorActionBarContributor.java:209)
> at
> org.eclipse.wst.rdb.data.internal.ui.editor.TableDataEditorA ctionBarContribu
> tor$4.isEnabled(TableDataEditorActionBarContributor.java:57)
> at
> org.eclipse.jface.action.ActionContributionItem.update(Actio nContributionIte
> m.java:815)
> at
> org.eclipse.jface.action.ActionContributionItem.fill(ActionC ontributionItem.
> java:281)
> at
> org.eclipse.jface.action.SubContributionItem.fill(SubContrib utionItem.java:6
> 5)
> at org.eclipse.jface.action.MenuManager.update(MenuManager.java :627)
> at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.j ava:721)
> at org.eclipse.jface.action.MenuManager.update(MenuManager.java :646)
> at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.j ava:721)
> at
> org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(Wor kbenchWindow.jav
> a:2485)
>
> followed by:
>
> Unhandled event loop exception
>
> and:
>
> java.lang.ArrayIndexOutOfBoundsException: 0
> at
> org.eclipse.jface.viewers.TableEditorImpl.activateCellEditor (TableEditorImpl
> .java:70)
> at
> org.eclipse.jface.viewers.TableEditorImpl.activateCellEditor (TableEditorImpl
> .java:145)
> at
> org.eclipse.jface.viewers.TableEditorImpl.handleMouseDown(Ta bleEditorImpl.ja
> va:271)
> at org.eclipse.jface.viewers.TableViewer$2.mouseDown(TableViewe r.java:608)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:133)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
>
>
>
Thanks for your response, I didn't look into the log file so far. I get
this exception too.
Previous Topic:The server may already be running in another process, or a system process may be using the port.
Next Topic:slow wsdl editor
Goto Forum:
  


Current Time: Fri Apr 18 06:45:52 EDT 2025

Powered by FUDForum. Page generated in 0.03392 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top