NPE in XSDAnnotationItemProvider [message #580341] |
Fri, 31 October 2003 18:54 |
Lance Phillips Messages: 210 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C39FAE.2B888900
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Ed,
Due to a problem with the way were reading in models, we were =
creating XSDAnnotations with null elements. We haven't quite solved =
that yet, but an interesting side effect is a NPE in the =
XSDAnnotationItemProvider. It would seem that the item provider should =
be a bit more fault tolerant as this exception takes down the property =
sheet page and clutters up the log. Here is the stack...
Oct 31, 2003 12:48:08.062 [main|0] ERROR <com.metamatrix.modeler.ui|0> =
java.lang.NullPointerException
java.lang.NullPointerException
at =
org.eclipse.xsd.provider.XSDAnnotationItemProvider.getText(X SDAnnotationI=
temProvider.java:109)
at =
org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator.ge tText(Adapter=
FactoryItemDelegator.java:93)
at =
org.eclipse.emf.edit.provider.ItemPropertyDescriptor$ItemDel egator.getTex=
t(ItemPropertyDescriptor.java:171)
at =
org.eclipse.emf.edit.ui.provider.PropertyDescriptor$1.getTex t(PropertyDes=
criptor.java:140)...
------=_NextPart_000_000A_01C39FAE.2B888900
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1264" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Ed,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> Due to a problem =
with the way=20
were reading in models, we were creating XSDAnnotations with null=20
elements. We haven't quite solved that yet, but an interesting =
side effect=20
is a NPE in the XSDAnnotationItemProvider. It would seem that the =
item=20
provider should be a bit more fault tolerant as this exception takes =
down the=20
property sheet page and clutters up the log. Here is the=20
stack...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<P><FONT face=3DArial size=3D2>Oct 31, 2003 12:48:08.062 [main|0] ERROR=20
<com.metamatrix.modeler.ui|0> =
java.lang.NullPointerException</FONT></P>
<DIV><FONT face=3DArial =
size=3D2>java.lang.NullPointerException</FONT></DIV>
<P><FONT face=3DArial size=3D2>at=20
org.eclipse.xsd.provider.XSDAnnotationItemProvider.getText(X SDAnnotationI=
temProvider.java:109)</FONT></P>
<P><FONT face=3DArial size=3D2>at=20
org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator.ge tText(Adapter=
FactoryItemDelegator.java:93)</FONT></P>
<P><FONT face=3DArial size=3D2>at=20
org.eclipse.emf.edit.provider.ItemPropertyDescriptor$ItemDel egator.getTex=
t(ItemPropertyDescriptor.java:171)</FONT></P>
<P><FONT face=3DArial size=3D2>at=20
org.eclipse.emf.edit.ui.provider.PropertyDescriptor$1.getTex t(PropertyDes=
criptor.java:140)...</FONT></P></BODY></HTML>
------=_NextPart_000_000A_01C39FAE.2B888900--
|
|
|
Powered by
FUDForum. Page generated in 0.01792 seconds