I don't think this is related to the XSD content type issue. Seems more 
like a problem with loading the XSD EMF model that backs the content model 
used by an XML editor (or the underlying XML model). It would be 
interesting to know the schema that is being loaded. If the scenario is 
reproducible, a breakpoint in 
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.CMDocumentManagerImpl.buildCMDocument(String,
 
String, String) should give you the schema URI.

Cameron, can you please describe what you are doing when the exception 
occurs. 

Valentin Baciu
XML Web Services Tools



From:
David M Williams <[EMAIL PROTECTED]>
To:
"General discussion of project-wide or architectural issues." 
<[email protected]>
Date:
05/28/2008 05:03 PM
Subject:
Re: [wtp-dev] HIT SEND by mistake: Same exception?




No, not same exception as last week's issues. 
But, _might_ be a manifestation of bug 226967 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=226967 

I suggest you add the info to that bug, and describe how to reproduce it. 

Oh ... and, I suggest first you get on a "clean" version of RC2 and it's 
pre-reqs, and make sure it happens there .... 
who knows what changed between RC1-sort-a and RC2 :) 

Did this actually seem to cause something not to work? Or, just an odd log 
message? 
Seems serious, on the surface. 

Thanks, 



From: 
[EMAIL PROTECTED] 
To: 
"General discussion of project-wide or architectural issues." 
<[email protected]> 
Date: 
05/28/2008 03:01 PM 
Subject: 
[wtp-dev] HIT SEND by mistake: Same exception?




Sorry here's the stack trace:

java.lang.NullPointerException
                at 
org.eclipse.xsd.impl.XSDSimpleTypeDefinitionImpl.createFundamentalFacets(XSDSimpleTypeDefinitionImpl.java:3009)
                at 
org.eclipse.xsd.impl.XSDSimpleTypeDefinitionImpl.handleAnalysis(XSDSimpleTypeDefinitionImpl.java:803)
                at 
org.eclipse.xsd.impl.XSDTypeDefinitionImpl.analyze(XSDTypeDefinitionImpl.java:259)
                at 
org.eclipse.xsd.impl.XSDConcreteComponentImpl.analyze(XSDConcreteComponentImpl.java:552)
                at 
org.eclipse.xsd.impl.XSDSchemaImpl.analyze(XSDSchemaImpl.java:1647)
                at 
org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java:1622)
                at 
org.eclipse.xsd.impl.XSDSchemaImpl.changeAttribute(XSDSchemaImpl.java:2460)
                at 
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDConcreteComponentImpl.java:1278)
                at 
org.eclipse.xsd.impl.XSDSchemaImpl.setSchemaLocation(XSDSchemaImpl.java:893)
                at 
org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:760)
                at 
org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:789)
                at 
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1414)
                at 
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1210)
                at 
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:255)
                at 
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:270)
                at 
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397)
                at 
org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaForSchema(XSDSchemaImpl.java:665)
                at 
org.eclipse.xsd.impl.XSDSchemaImpl.createSchema(XSDSchemaImpl.java:476)
                at 
org.eclipse.xsd.util.XSDResourceImpl.handleSchemaElement(XSDResourceImpl.java:830)
                at 
org.eclipse.xsd.util.XSDResourceImpl.findSchemas(XSDResourceImpl.java:796)
                at 
org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:701)
                at 
org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl.java:789)
                at 
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1414)
                at 
org.eclipse.wst.xsd.contentmodel.internal.XSDImpl.buildXSDModel(XSDImpl.java:213)
                at 
org.eclipse.wst.xsd.contentmodel.internal.XSDImpl.buildCMDocument(XSDImpl.java:172)
                at 
org.eclipse.wst.xsd.contentmodel.internal.CMDocumentFactoryXSD.createCMDocument(CMDocumentFactoryXSD.java:39)
                at 
org.eclipse.wst.xml.core.internal.contentmodel.ContentModelManager.createCMDocument(ContentModelManager.java:56)
                at 
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.CMDocumentManagerImpl.buildCMDocument(CMDocumentManagerImpl.java:267)
                at 
org.eclipse.wst.xml.core.internal.contentmodel.modelqueryimpl.CMDocumentManagerImpl$1.run(CMDocumentManagerImpl.java:239)
                at 
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev
_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev


_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to