Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
FW: [corona-dev] Changes to Corona Model Committed

I can't either,  there seems to be an issue in org.eclipse.corona.soa.client.axis2.RPCProxyHandler.convertOMElement2Object  I'm guessing related to a change in EMF there have been a few subtle changes that have caused problems.  I seem to be able to open the system container (system.xml) successfully but not a project container like MyCoronaTest

In the exception below I find this:
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/corona/container/model/project' not found. (file:///C:/eclipse-SDK-3.3M6/eclipse/all.datagraph, 3, 270)

when I compare to old model code it is the same but we are using a newer version of EMF and different model.  I'm not sure how to tell SDO/EMF how to find uri 'http://www.eclipse.org/corona/container/model/project'

Exception stack below:



java.lang.reflect.UndeclaredThrowableException
	at $Proxy6.openProjectContainerForMember(Unknown Source)
	at org.eclipse.corona.container.project.manager.proxy.ProjectContainerManagerProxy.openProjectContainerForMember(ProjectContainerManagerProxy.java:93)
	at org.eclipse.corona.container.project.ui.explorer.actions.OpenPCXActionDelegate.run(OpenPCXActionDelegate.java:94)
	at org.eclipse.corona.internal.container.project.ui.ProjectContainerExplorerExtension$1.run(ProjectContainerExplorerExtension.java:64)
	at org.eclipse.corona.internal.container.project.ui.ProjectContainerExplorerExtension.doubleClicked(ProjectContainerExplorerExtension.java:66)[ERROR] OpenPCXActionDelegate.run: 
null

	at org.eclipse.corona.internal.container.ui.explorer.ExplorerExtensionUtil$ExplorerExtensionProxy.doubleClicked(ExplorerExtensionUtil.java:86)
	at org.eclipse.corona.container.ui.explorer.ContextContainerExplorerView$5.doubleClick(ContextContainerExplorerView.java:234)
	at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:850)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:45)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:153)
	at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:797)
	at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1347)
	at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1168)
	at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:237)
	at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:234)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295)
	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.java:3673)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3284)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2337)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2301)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2176)
	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:463)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:458)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:101)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:146)
	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:356)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:171)
	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:476)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:416)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1141)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1116)
Caused by: org.eclipse.corona.soa.client.SOAUndefinedCoronaException: Package with uri 'http://www.eclipse.org/corona/container/model/project' not found. (file:///C:/eclipse-SDK-3.3M6/eclipse/all.datagraph, 3, 270)
	at org.eclipse.corona.soa.client.axis2.RPCProxyHandler.invoke(RPCProxyHandler.java:420)
	... 43 more
Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Package with uri 'http://www.eclipse.org/corona/container/model/project' not found. (file:///C:/eclipse-SDK-3.3M6/eclipse/all.datagraph, 3, 270)
	at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:81)
	at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:189)
	at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
	at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1354)
	at org.eclipse.emf.ecore.sdo.util.SDOUtil.loadDataGraph(SDOUtil.java:1224)
	at org.eclipse.corona.soa.client.axis2.RPCProxyHandler.convertOMElement2Object(RPCProxyHandler.java:218)
	at org.eclipse.corona.soa.client.axis2.RPCProxyHandler.invoke(RPCProxyHandler.java:414)
	... 43 more
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/corona/container/model/project' not found. (file:///C:/eclipse-SDK-3.3M6/eclipse/all.datagraph, 3, 270)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getPackageForURI(XMLHandler.java:2449)
	at org.eclipse.emf.ecore.sdo.util.DataGraphResourceFactoryImpl$DataGraphResourceImpl$LoadImpl$1.getPackageForURI(DataGraphResourceFactoryImpl.java:621)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.getFactoryForPrefix(XMLHandler.java:2285)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createObjectByType(XMLHandler.java:1229)
	at org.eclipse.emf.ecore.sdo.util.DataGraphResourceFactoryImpl$DataGraphResourceImpl$LoadImpl$1.handleFeature(DataGraphResourceFactoryImpl.java:554)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:971)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:950)
	at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:681)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(Unknown Source)
	at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:179)
	... 48 more



-----Original Message-----
From: Jaworowski, Piotr 
Sent: Friday, May 11, 2007 6:06 AM
To: Everitt, Glenn
Subject: RE: [corona-dev] Changes to Corona Model Committed

Hi Glenn, 

	I've already moved to new branch, thus I'm not able to open that new container.

P

> -----Original Message-----
> From: corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Everitt, Glenn
> Sent: Thursday, May 10, 2007 5:08 PM
> To: Corona development
> Subject: RE: [corona-dev] Changes to Corona Model Committed
> 
> What container are you trying to open? Just try to open MyCoronaTest.
> 
> Glenn
> 
> -----Original Message-----
> From: corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-
> bounces@xxxxxxxxxxx] On Behalf Of Jaworowski, Piotr
> Sent: Thursday, May 10, 2007 10:35 AM
> To: Corona development
> Subject: RE: [corona-dev] Changes to Corona Model Committed
> 
> Stack trace for NPE is:
> Caused by: java.lang.NullPointerException
> 	at
> org.eclipse.corona.container.model.impl.CoronaDescriptorImpl.getProperty(C
> oronaDescriptorImpl.java:551)
> 	at
> org.eclipse.corona.container.model.impl.ContextContainerImpl.getResourcesB
> yType(ContextContainerImpl.java:520)
> 	at
> org.eclipse.corona.container.project.manager.service.ProjectContainerManag
> er.getTeamRepositoryAdapter(ProjectContainerManager.java:189)
> 	at
> org.eclipse.corona.container.project.manager.service.ProjectContainerManag
> er.openProjectContainerForMember(ProjectContainerManager.java:236)
> 
> > -----Original Message-----
> > From: corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-
> > bounces@xxxxxxxxxxx] On Behalf Of Jaworowski, Piotr
> > Sent: Thursday, May 10, 2007 4:15 PM
> > To: Corona development
> > Subject: RE: [corona-dev] Changes to Corona Model Committed
> >
> > I've checked in fixed version of
> > org.eclipse.corona.container.project.ui/plugin.xml file, all the actions
> > (open/close etc) should visible now...
> >
> > Unfortunately open container doesn't work as server throws NPE...
> > Investigation in progress.
> >
> > P.
> >
> > > -----Original Message-----
> > > From: corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-
> > > bounces@xxxxxxxxxxx] On Behalf Of Everitt, Glenn
> > > Sent: Thursday, May 10, 2007 2:09 PM
> > > To: Corona development
> > > Subject: RE: [corona-dev] Changes to Corona Model Committed
> > >
> > > You are correct!  I just committed them, sorry for the delay.
> > >
> > > Glenn Everitt
> > >
> > > -----Original Message-----
> > > From: corona-dev-bounces@xxxxxxxxxxx [mailto:corona-dev-
> > > bounces@xxxxxxxxxxx] On Behalf Of Marcin Okraszewski
> > > Sent: Thursday, May 10, 2007 6:03 AM
> > > To: Corona development
> > > Subject: Re: [corona-dev] Changes to Corona Model Committed
> > >
> > > We have been able to reduce error count to 114 :)
> > >
> > > Seems like *.services plugins hasn't been committed.
> > >
> > > Marcin
> > >
> > >
> > > Everitt, Glenn wrote:
> > > >
> > > >    1. Keep your existing hopefully working workspace
> > > >    2. Checkout all of the model changes into a new Workspace:
> > > >       Corona_M10_model
> > > >
> > > > I have checked in a new SystemContainer file: system.xml
> > > >
> > > > with only 2 ProjectContainers:
> > > >
> > > > MyCoronaTest .xml - start trying to get this container to work
> > > >
> > > > CoronaDemo2.xml - this one is larger and will take more time to get
> > > > working
> > > >
> > > > I have all test projects closed!
> > > >
> > > >
> > > > The contents of this e-mail are intended for the named addressee
> only.
> > > > It contains information that may be confidential. Unless you are the
> > > > named addressee or an authorized designee, you may not copy or use
> it,
> > > > or disclose it to anyone else. If you received it in error please
> > > > notify us immediately and then destroy it.
> > > > --------------------------------------------------------------------
> --
> > --
> > > >
> > > > _______________________________________________
> > > > corona-dev mailing list
> > > > corona-dev@xxxxxxxxxxx
> > > > https://dev.eclipse.org/mailman/listinfo/corona-dev
> > > >
> > >
> > > The contents of this e-mail are intended for the named addressee only.
> > It
> > > contains information that may be confidential. Unless you are the
> named
> > > addressee or an authorized designee, you may not copy or use it, or
> > > disclose it to anyone else. If you received it in error please notify
> us
> > > immediately and then destroy it.
> > >
> > > Compuware sp. z o.o. (registration number KRS 595) is a company
> > registered
> > > in Poland whose registered office is at Ul. Dmowskiego 12,80-264
> Gdansk
> > > Rejestr handlowy KRS 0000000595 Sadu Rejonowego Gdansk-Polnoc w
> Gdansku
> > > VII Wydzial Gospodarczy Kapital zakladowy 1.140.000 zl oplacony
> gotówka;
> > > NIP: 584-20-88-050; REGON: 191352920
> > > _______________________________________________
> > > corona-dev mailing list
> > > corona-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/corona-dev
> > >
> > >
> > > The contents of this e-mail are intended for the named addressee only.
> > It
> > > contains information that may be confidential. Unless you are the
> named
> > > addressee or an authorized designee, you may not copy or use it, or
> > > disclose it to anyone else. If you received it in error please notify
> us
> > > immediately and then destroy it.
> > > _______________________________________________
> > > corona-dev mailing list
> > > corona-dev@xxxxxxxxxxx
> > > https://dev.eclipse.org/mailman/listinfo/corona-dev
> >
> >
> > The contents of this e-mail are intended for the named addressee only.
> It
> > contains information that may be confidential. Unless you are the named
> > addressee or an authorized designee, you may not copy or use it, or
> > disclose it to anyone else. If you received it in error please notify us
> > immediately and then destroy it.
> >
> > Compuware sp. z o.o. (registration number KRS 595) is a company
> registered
> > in Poland whose registered office is at Ul. Dmowskiego 12,80-264 Gdansk
> > Rejestr handlowy KRS 0000000595 Sadu Rejonowego Gdansk-Polnoc w Gdansku
> > VII Wydzial Gospodarczy Kapital zakladowy 1.140.000 zl oplacony gotówka;
> > NIP: 584-20-88-050; REGON: 191352920
> > _______________________________________________
> > corona-dev mailing list
> > corona-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/corona-dev
> 
> 
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it.
> 
> Compuware sp. z o.o. (registration number KRS 595) is a company registered
> in Poland whose registered office is at Ul. Dmowskiego 12,80-264 Gdansk
> Rejestr handlowy KRS 0000000595 Sadu Rejonowego Gdansk-Polnoc w Gdansku
> VII Wydzial Gospodarczy Kapital zakladowy 1.140.000 zl oplacony gotówka;
> NIP: 584-20-88-050; REGON: 191352920
> 
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it.
> 
> Compuware sp. z o.o. (registration number KRS 595) is a company registered
> in Poland whose registered office is at Ul. Dmowskiego 12,80-264 Gdansk
> Rejestr handlowy KRS 0000000595 Sadu Rejonowego Gdansk-Polnoc w Gdansku
> VII Wydzial Gospodarczy Kapital zakladowy 1.140.000 zl oplacony gotówka;
> NIP: 584-20-88-050; REGON: 191352920
> _______________________________________________
> corona-dev mailing list
> corona-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/corona-dev
> 
> 
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it.
> 
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it.
> _______________________________________________
> corona-dev mailing list
> corona-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/corona-dev


The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 


Back to the top