[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[News.eclipse.technology.cme] (i) classes and/or objects in concern model? (ii) error when expanding on relationship in CME Search
|
Isn't there a direct way to include instance variables (objects) in a
concern model feature? I tried to do it by storing a
'connection To' relationship between the two classes. There doesnot seem to
be a direct way of differentiating classes with objects, are there ? Does
this idea make any sense ?
And while trying to explore the relationship I encountered a problem.
I tried to get an instance variable (i) inside a class 'c' listed by getting
to the relationship 'c' connection to 'i' (actually class of 'i').
When ever I try to expand on a that particular relationship in the CME
Search Results by right clicking and then selecting 'Expand' I get an
error -
'A virtual machine error has occured It is recommended to exit the
workbench....'
as I am running CME in the self host mode, in the parent workspace that
launches the eclipse instance with CME, I see the following in the console -
Unhandled exception caught in event loop.
Reason:
IOException thrown in ShrikeCTStubLoaderImpl
and here's the stack trace ----->
------------------------------------
!SESSION Jul 17, 2004
18:30:27.659 ---------------------------------------------
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -pdelaunch -dev ,bin -feature
org.eclipse.platform -data C:\opt\eclipse2.1\runtime-workspace -os win32 -ws
win32 -arch x86 -nl en_US -configuration
file:C:/opt/eclipse2.1/workspace/.metadata/.plugins/org.eclipse.pde.core/C__opt_eclipse2.1_runtime-workspace/platform.cfg -
install file:C:/opt/eclipse2.1/
!ENTRY org.eclipse.contribution.visualiser 1 0 Jul 17, 2004 18:30:27.659
!MESSAGE File open!
!ENTRY org.eclipse.ui 4 4 Jul 17, 2004 18:47:42.467
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Jul 17, 2004 18:47:42.477
!MESSAGE IOException thrown in ShrikeCTStubLoaderImpl
!STACK 0
java.lang.InternalError: IOException thrown in ShrikeCTStubLoaderImpl
at
org.eclipse.cme.conman.loaders.ShrikeClassStubImpl.loadDetails(ShrikeClassSt
ubImpl.java:209)
at
org.eclipse.cme.conman.loaders.ShrikeClassStubImpl.allReferencesFromThisTo(S
hrikeClassStubImpl.java:326)
at
org.eclipse.cme.conman.loaders.ShrikeClassStubImpl.allReferencesFromThisTo(S
hrikeClassStubImpl.java:257)
at
org.eclipse.cme.conman.loaders.ShrikeClassStubImpl.expandRelationship(Shrike
ClassStubImpl.java:2265)
at
org.eclipse.cme.ui.search.SearchResultsView.expandSelection(SearchResultsVie
w.java:234)
at
org.eclipse.cme.ui.search.SearchResultsView$1.run(SearchResultsView.java:134
)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Action
ContributionItem.java:456)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionCont
ributionItem.java:403)
at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionI
tem.java:397)
at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(A
ctionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.jav
a:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
--
sushil