MissingResourceException: Missing properties: org/eclipse/xsd/plugin.properties [message #591326] |
Fri, 03 September 2004 19:04 |
Eclipse User |
|
|
|
Originally posted by: robinnt.us.ibm.com
Hi,
I have created an XSDSchema and am trying to add a global element
(XSDElementDeclaration) to it when the MissingResourceException is thrown as
shown. I can see that the plug-in org.eclipse.xsd has a plugin.properties
file in the eclipse\plugins\org.eclipse.xsd_2.0.1 directory. I am using the
xsd-SDK-M200407211027 build.
java code throwing the exception:
schema.getContents().add(anElement);
java.util.MissingResourceException: Missing properties:
org/eclipse/xsd/plugin.properties
at org.eclipse.emf.common.EMFPlugin.getBaseURL(EMFPlugin.java:1 17)
at
org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaInstance(XSDSche maImpl.java:687)
at org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2020)
at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1465)
at
org.eclipse.xsd.impl.XSDSchemaImpl.traverseToRootForPatching (XSDSchemaImpl.j
ava:1448)
at org.eclipse.xsd.impl.XSDSchemaImpl.adoptContent(XSDSchemaImp l.java:1747)
at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentIm
pl.java:1122)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
onChainImpl.java:113)
at
org.eclipse.emf.common.notify.impl.NotificationChainImpl.dis patch(Notificati
onChainImpl.java:101)
at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingList
Impl.java:288)
at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 84)
Has anyone seen this problem and know what is wrong?
Thanks.
|
|
|
Powered by
FUDForum. Page generated in 0.01692 seconds