Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » errors using XSD as plugin, UnknownHostException and NPE
errors using XSD as plugin, UnknownHostException and NPE [message #596641] Tue, 27 September 2005 17:58
Francis Upton IV is currently offline Francis Upton IV
Messages: 472
Registered: July 2009
Location: Oakland, CA
Senior Member
I have previously used the wonderful XSD support standalone, using
xsd.[resource].jar, common.[resource].jar and core.[resource].jar with
version 2.0.1.

I have since migrated to SWT and RCP (on version 3.1) and am now using
it as a plug in. I have removed the above jar files and and replaced
them with these jar files (which of course include quite a bit more than
XSD):

org.eclipse.core.resources_3.1.0.jar org.eclipse.osgi_3.1.0.jar
org.eclipse.core.resources.linux_3.1.0.jar
org.eclipse.swt.gtk.linux.x86_3.1.0.jar
org.eclipse.core.runtime_3.1.0.jar org.eclipse.ui_3.1.0.jar
org.eclipse.emf.common_2.1.0.jar org.eclipse.ui.ide_3.1.0.jar
org.eclipse.emf.ecore_2.1.0.jar org.eclipse.ui.views_3.1.0.jar
org.eclipse.jface_3.1.0.jar
org.eclipse.ui.workbench_3.1.0.jar
org.eclipse.jface.text_3.1.0.jar org.eclipse.xsd_2.1.0.jar


I have also added the the following dependent plugins:

Require-Bundle: org.eclipse.jface,
org.eclipse.jface.text,
org.eclipse.osgi,
org.eclipse.swt,
org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.osgi.util,
org.eclipse.osgi.services,
org.eclipse.ui.views,
org.eclipse.ui.ide,
org.eclipse.ui.editors,
org.eclipse.ui.workbench.texteditor,
org.junit,
org.eclipse.emf.common,
org.eclipse.emf.ecore,
org.eclipse.xsd,
org.eclipse.emf.importer,
org.eclipse.emf.importer.ecore,
org.eclipse.xsd.ecore.importer

With all this, running the same tests that used to work fine, I'm
getting the following errors when I try to import an .xsd file.

Any ideas?

Thanks,

Francis


!SESSION 2005-09-27 10:50:03.485
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -version 3 -application
org.eclipse.pde.junit.runtime.uitestapplication -product
com.oaklandsw.transform.product -pdelaunch -port 34067 -testpluginname
com.oaklandsw.transform -test
com.oaklandsw.transform.XsdSimpleImportTest:testBasic
Command-line arguments: -version 3 -application
org.eclipse.pde.junit.runtime.uitestapplication -product
com.oaklandsw.transform.product -data
/home/francis/junit-workbench-workspace -dev
file:/home/francis/d/.metadata/.plugins/org.eclipse.pde.core /XsdSimpleImportTest.testBasic/dev.properties
-pdelaunch -os linux -ws gtk -arch x86 -port 34067 -testpluginname
com.oaklandsw.transform -test
com.oaklandsw.transform.XsdSimpleImportTest:testBasic

!ENTRY org.eclipse.ui 4 4 2005-09-27 10:50:11.33
!MESSAGE Invalid Menu Extension (Path is invalid):
org.eclipse.ui.edit.text.gotoLastEditPosition

!ENTRY org.eclipse.xsd 2 0 2005-09-27 10:50:14.290
!MESSAGE bundleentry
!STACK 0
java.net.UnknownHostException: bundleentry
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
at sun.net.NetworkClient.openServer(NetworkClient.java:118)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:423)
at sun.net.ftp.FtpClient.<init>(FtpClient.java:692)
at
sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConn ection.java:175)
at
sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(Ftp URLConnection.java:257)
at java.net.URL.openStream(URL.java:913)
at
org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(U nknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown
Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.startPE(Unknown Source)
at
org.apache.xerces.impl.XMLDTDScannerImpl.skipSeparator(Unkno wn Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown
Source)
at
org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubs et(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher. dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDo cument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at
org.eclipse.xsd.util.XSDResourceImpl.getDocument(XSDResource Impl.java:238)
at
org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:412)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:977)
at
org.eclipse.xsd.impl.XSDSchemaDirectiveImpl.resolve(XSDSchem aDirectiveImpl.java:398)
at
org.eclipse.xsd.impl.XSDImportImpl.importSchema(XSDImportImp l.java:476)
at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2120)
at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveNamedComponent(XSD SchemaImpl.java:2143)
at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveAttributeDeclarati on(XSDSchemaImpl.java:2168)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.resolveAttribu teDeclaration(XSDConcreteComponentImpl.java:2469)
at
org.eclipse.xsd.impl.XSDAttributeDeclarationImpl.patch(XSDAt tributeDeclarationImpl.java:203)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcr eteComponentImpl.java:526)
at
org.eclipse.xsd.impl.XSDAttributeUseImpl.patch(XSDAttributeU seImpl.java:738)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcr eteComponentImpl.java:526)
at
org.eclipse.xsd.impl.XSDNamedComponentImpl.patch(XSDNamedCom ponentImpl.java:727)
at
org.eclipse.xsd.impl.XSDTypeDefinitionImpl.patch(XSDTypeDefi nitionImpl.java:249)
at
org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.patch(XSDC omplexTypeDefinitionImpl.java:994)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcr eteComponentImpl.java:526)
at
org.eclipse.xsd.impl.XSDNamedComponentImpl.patch(XSDNamedCom ponentImpl.java:727)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.patch(XSDElem entDeclarationImpl.java:546)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.patch(XSDConcr eteComponentImpl.java:526)
at
org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1493)
at
org.eclipse.xsd.impl.XSDSchemaImpl.changeAttribute(XSDSchema Impl.java:2314)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentImpl.java:1219)
at
org.eclipse.xsd.impl.XSDSchemaImpl.setSchemaLocation(XSDSche maImpl.java:825)
at
org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:489)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:977)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:832)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:249)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:264)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:349)
at
org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaForSchema(XSDSch emaImpl.java:609)
at
org.eclipse.xsd.impl.XSDSchemaImpl.createSchema(XSDSchemaImp l.java:420)
at
org.eclipse.xsd.util.XSDResourceImpl.handleSchemaElement(XSD ResourceImpl.java:536)
at
org.eclipse.xsd.util.XSDResourceImpl.findSchemas(XSDResource Impl.java:502)
at
org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:431)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:977)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:832)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:249)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:264)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:349)
at
com.oaklandsw.transform.rep.xml.XsdImportProcessor.importFro mFile(XsdImportProcessor.java:178)
at
com.oaklandsw.transform.rep.xml.XsdImporter.doImportSubclass (XsdImporter.java:42)
at
com.oaklandsw.transform.editor.Importer.doImport(Importer.ja va:338)
at
com.oaklandsw.transform.editor.Importer.doImport(Importer.ja va:322)
at
com.oaklandsw.transform.TransformTestBase.importXsdDefinitio n(TransformTestBase.java:1711)
at
com.oaklandsw.transform.TransformTestBase.testXsdImport(Tran sformTestBase.java:1926)
at
com.oaklandsw.transform.TransformTestBase.testXsdImport(Tran sformTestBase.java:1905)
at
com.oaklandsw.transform.TransformTestBase.testXsdImport(Tran sformTestBase.java:1891)
at
com.oaklandsw.transform.XsdSimpleImportTest.testBasic(XsdSim pleImportTest.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:478)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:344)
at
org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunne r.main(RemotePluginTestRunner.java:57)
at
org.eclipse.pde.internal.junit.runtime.UITestApplication$1.r un(UITestApplication.java:99)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2844)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2575)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at
com.oaklandsw.transform.editor.Editor.runEditor(Editor.java: 2111)
at
com.oaklandsw.transform.editor.Standalone.run(Standalone.jav a:72)
at
org.eclipse.pde.internal.junit.runtime.UITestApplication.run (UITestApplication.java:39)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

!ENTRY org.eclipse.xsd 2 0 2005-09-27 10:50:14.505
!MESSAGE
!STACK 0
java.lang.NullPointerException
at
org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.handleNewB aseTypeDefinition(XSDComplexTypeDefinitionImpl.java:2046)
at
org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.handleReco nciliation(XSDComplexTypeDefinitionImpl.java:2329)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcileConte nts(XSDConcreteComponentImpl.java:1032)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcile(XSDC oncreteComponentImpl.java:966)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.elementChanged (XSDConcreteComponentImpl.java:411)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.adoptContent(X SDConcreteComponentImpl.java:1360)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.adoptContent( XSDElementDeclarationImpl.java:1456)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentImpl.java:1182)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.eNotify(XSDEl ementDeclarationImpl.java:1380)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:113)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:101)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.setAnonymousT ypeDefinition(XSDElementDeclarationImpl.java:1765)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.handleReconci liation(XSDElementDeclarationImpl.java:1229)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcileConte nts(XSDConcreteComponentImpl.java:1032)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.reconcileCont ents(XSDElementDeclarationImpl.java:1175)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.elementContent sChanged(XSDConcreteComponentImpl.java:473)
at
org.eclipse.xsd.impl.XSDParticleImpl.reconcileContents(XSDPa rticleImpl.java:664)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcile(XSDC oncreteComponentImpl.java:966)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.elementChanged (XSDConcreteComponentImpl.java:411)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.adoptContent(X SDConcreteComponentImpl.java:1360)
at
org.eclipse.xsd.impl.XSDModelGroupImpl.adoptContent(XSDModel GroupImpl.java:693)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentImpl.java:1139)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:113)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:101)
at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingListImpl.java:288)
at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 99)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.setListContent AndOrder(XSDConcreteComponentImpl.java:2094)
at
org.eclipse.xsd.impl.XSDModelGroupImpl.handleReconciliation( XSDModelGroupImpl.java:657)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcileConte nts(XSDConcreteComponentImpl.java:1032)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.elementContent sChanged(XSDConcreteComponentImpl.java:473)
at
org.eclipse.xsd.impl.XSDParticleImpl.reconcileContents(XSDPa rticleImpl.java:664)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcile(XSDC oncreteComponentImpl.java:966)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.elementChanged (XSDConcreteComponentImpl.java:411)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.adoptContent(X SDConcreteComponentImpl.java:1360)
at
org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.adoptConte nt(XSDComplexTypeDefinitionImpl.java:2600)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentImpl.java:1182)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:113)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:101)
at
org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.setContent (XSDComplexTypeDefinitionImpl.java:758)
at
org.eclipse.xsd.impl.XSDComplexTypeDefinitionImpl.handleReco nciliation(XSDComplexTypeDefinitionImpl.java:2240)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcileConte nts(XSDConcreteComponentImpl.java:1032)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcile(XSDC oncreteComponentImpl.java:966)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.elementChanged (XSDConcreteComponentImpl.java:411)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.adoptContent(X SDConcreteComponentImpl.java:1360)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.adoptContent( XSDElementDeclarationImpl.java:1456)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentImpl.java:1182)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.eNotify(XSDEl ementDeclarationImpl.java:1380)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:113)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:101)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.setAnonymousT ypeDefinition(XSDElementDeclarationImpl.java:1765)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.handleReconci liation(XSDElementDeclarationImpl.java:1229)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcileConte nts(XSDConcreteComponentImpl.java:1032)
at
org.eclipse.xsd.impl.XSDElementDeclarationImpl.reconcileCont ents(XSDElementDeclarationImpl.java:1175)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcile(XSDC oncreteComponentImpl.java:966)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.elementChanged (XSDConcreteComponentImpl.java:411)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.adoptContent(X SDConcreteComponentImpl.java:1360)
at
org.eclipse.xsd.impl.XSDSchemaImpl.adoptContent(XSDSchemaImp l.java:1763)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentImpl.java:1139)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:113)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(NotificationChainImpl.java:101)
at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingListImpl.java:288)
at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 99)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.setListContent AndOrder(XSDConcreteComponentImpl.java:2094)
at
org.eclipse.xsd.impl.XSDSchemaImpl.handleReconciliation(XSDS chemaImpl.java:1985)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcileConte nts(XSDConcreteComponentImpl.java:1032)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.reconcile(XSDC oncreteComponentImpl.java:966)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.changeAttribut e(XSDConcreteComponentImpl.java:1246)
at
org.eclipse.xsd.impl.XSDSchemaImpl.changeAttribute(XSDSchema Impl.java:2318)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentImpl.java:1219)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.setElementGen( XSDConcreteComponentImpl.java:2817)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.setElement(XSD ConcreteComponentImpl.java:2849)
at
org.eclipse.xsd.impl.XSDSchemaImpl.setElement(XSDSchemaImpl. java:2441)
at
org.eclipse.xsd.impl.XSDSchemaImpl.createSchema(XSDSchemaImp l.java:422)
at
org.eclipse.xsd.util.XSDResourceImpl.handleSchemaElement(XSD ResourceImpl.java:536)
at
org.eclipse.xsd.util.XSDResourceImpl.findSchemas(XSDResource Impl.java:502)
at
org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:431)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:977)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:832)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:249)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo adHelper(ResourceSetImpl.java:264)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:349)
at
com.oaklandsw.transform.rep.xml.XsdImportProcessor.importFro mFile(XsdImportProcessor.java:178)
at
com.oaklandsw.transform.rep.xml.XsdImporter.doImportSubclass (XsdImporter.java:42)
at
com.oaklandsw.transform.editor.Importer.doImport(Importer.ja va:338)
at
com.oaklandsw.transform.editor.Importer.doImport(Importer.ja va:322)
at
com.oaklandsw.transform.TransformTestBase.importXsdDefinitio n(TransformTestBase.java:1711)
at
com.oaklandsw.transform.TransformTestBase.testXsdImport(Tran sformTestBase.java:1926)
at
com.oaklandsw.transform.TransformTestBase.testXsdImport(Tran sformTestBase.java:1905)
at
com.oaklandsw.transform.TransformTestBase.testXsdImport(Tran sformTestBase.java:1891)
at
com.oaklandsw.transform.XsdSimpleImportTest.testBasic(XsdSim pleImportTest.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:478)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:344)
at
org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunne r.main(RemotePluginTestRunner.java:57)
at
org.eclipse.pde.internal.junit.runtime.UITestApplication$1.r un(UITestApplication.java:99)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:2844)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2575)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at
com.oaklandsw.transform.editor.Editor.runEditor(Editor.java: 2111)
at
com.oaklandsw.transform.editor.Standalone.run(Standalone.jav a:72)
at
org.eclipse.pde.internal.junit.runtime.UITestApplication.run (UITestApplication.java:39)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
main ~/junit-workbench-workspace/.metadata>


Previous Topic:2 levels of xsd:redefine
Next Topic:errors using XSD as plugin, UnknownHostException and NPE
Goto Forum:
  


Current Time: Fri Oct 24 15:29:53 GMT 2014

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

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