Jonathon Parker - 2005-01-09

I read the instruction manual written by Don Stewart. I installed the plug-in, created a schema folder and added an xsd file to it.  When I right click-select generate nothing happens.

Using XMLBeans from the command line, I was able to process the xsd file, create a jar file, add it to my project, compile and run it.  So I know the problem is not the xsd file.

I receive the following errors in the error log:

Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".

java.lang.NullPointerException
    at uk.ltd.grian.eclipse.xmlbeans.XMLBeansSchemaImpl.getName(XMLBeansSchemaImpl.java:191)
    at uk.ltd.grian.eclipse.xmlbeans.XMLBeanBuilder.build(XMLBeanBuilder.java:260)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:564)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:758)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:157)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:346)
    at org.eclipse.core.internal.resources.Project.build(Project.java:81)
    at uk.ltd.grian.eclipse.xmlbeans.popup.actions.Generate$1.run(Generate.java:112)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)

----

immediately after I receive:

Exception in nature->run()

org.eclipse.core.internal.resources.ResourceException: Errors during build.
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:348)
    at org.eclipse.core.internal.resources.Project.build(Project.java:81)
    at uk.ltd.grian.eclipse.xmlbeans.popup.actions.Generate$1.run(Generate.java:112)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)