harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Beyer" <nbe...@kc.rr.com>
Subject RE: [app] xmlbeans
Date Mon, 28 Aug 2006 03:31:52 GMT
My best guess would be that somewhere in NameUtil.getPackageFromNamespace()
(~line 466 to 508)[1] the processing of the namespace is resulting in a
'result' List that contains a null. This assumes that the trunk code is
what's be used.

If you can't quite get it isolated, feel free to log an "App oriented" issue
on JIRA. Just include all of the details to recreate it; an XML Schema file,
etc. Please make sure to document the reference JRE being used.

-Nathan

[1]
http://svn.apache.org/viewvc/xmlbeans/trunk/src/common/org/apache/xmlbeans/i
mpl/common/NameUtil.java?view=markup
[2] http://issues.apache.org/jira/browse/HARMONY

> -----Original Message-----
> From: Nathan Beyer [mailto:nbeyer@kc.rr.com]
> Sent: Sunday, August 27, 2006 10:15 PM
> To: harmony-dev@incubator.apache.org
> Subject: RE: [app] xmlbeans
> 
> What version of the xmlbeans code? So I can connect the stack trace to the
> source.
> 
> > -----Original Message-----
> > From: Jordan Justen [mailto:jljusten@gmail.com]
> > Sent: Sunday, August 27, 2006 10:08 PM
> > To: harmony-dev@incubator.apache.org
> > Subject: Re: [app] xmlbeans
> >
> > Well, I don't have much details, but here's the stack trace.  I figured
> it
> > wouldn't be to helpful for the list.  I don't see this exception with
> the
> > sun jvm/classes.  Anyway, I'll try debug it some...
> >
> >      [java] java.lang.NullPointerException
> >      [java]     at org.apache.xmlbeans.impl.common.NameUtil.splitWords(
> > NameUtil.java:667)
> >      [java]     at
> > org.apache.xmlbeans.impl.common.NameUtil.lowerCamelCase(
> > NameUtil.java:623)
> >      [java]     at
> > org.apache.xmlbeans.impl.common.NameUtil.getPackageFromNamespace(
> > NameUtil.java:513)
> >      [java]     at
> >
> org.apache.xmlbeans.impl.common.NameUtil.getClassNameFromQName(NameUtil.ja
> > va
> > :328)
> >      [java]     at
> >
> org.apache.xmlbeans.impl.common.NameUtil.getClassNameFromQName(NameUtil.ja
> > va
> > :318)
> >      [java]     at
> > org.apache.xmlbeans.impl.schema.StscJavaizer.pickFullJavaClassName(
> > StscJavaizer.java:679)
> >      [java]     at
> > org.apache.xmlbeans.impl.schema.StscJavaizer.assignGlobalJavaNames(
> > StscJavaizer.java:91)
> >      [java]     at
> > org.apache.xmlbeans.impl.schema.StscJavaizer.javaizeAllTypes(
> > StscJavaizer.java:55)
> >      [java]     at
> > org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compileImpl(
> > SchemaTypeSystemCompiler.java:313)
> >      [java]     at
> > org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(
> > SchemaTypeSystemCompiler.java:181)
> >      [java]     at
> > org.apache.xmlbeans.impl.tool.SchemaCompiler.loadTypeSystem(
> > SchemaCompiler.java:952)
> >      [java]     at org.apache.xmlbeans.impl.tool.SchemaCompiler.compile(
> > SchemaCompiler.java:1072)
> >      [java]     at org.apache.xmlbeans.impl.tool.SchemaCompiler.main(
> > SchemaCompiler.java:368)
> >
> >
> > On 8/27/06, Nathan Beyer <nbeyer@kc.rr.com> wrote:
> > >
> > > Is there a particular issue that you've run into?
> > >
> > > > -----Original Message-----
> > > > From: Jordan Justen [mailto:jljusten@gmail.com]
> > > > Sent: Sunday, August 27, 2006 7:10 PM
> > > > To: harmony-dev@incubator.apache.org
> > > > Subject: [app] xmlbeans
> > > >
> > > > Has anyone successfully used harmony with xmlbeans (
> > > > http://xmlbeans.apache.org/)?
> > > >
> > > > Or, does anyone know of any major reasons why it would not be
> working
> > at
> > > > this time?
> > > >
> > > > I tried it without luck.  I'll debug the error if no one knows of
> any
> > > > major
> > > > roadblocks that I'd encounter.
> > > >
> > > > Thanks,
> > > >
> > > > -Jordan
> > >
> > >
> > > ---------------------------------------------------------------------
> > > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> > >
> > >
> 
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message