classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gjdoc-0.7.1-pre1


From: Joao Victor
Subject: Re: gjdoc-0.7.1-pre1
Date: Sun, 13 Feb 2005 01:55:07 -0200

I think some errors i'm getting now have got to do with not finding
some resources.

First, it was not able to load a file "version.properties". I took a
look at the code (i'm using gjdoc pre3), and it was looking at
"/version.properties", but in the jar
(gnu-classpath-tools-gjdoc-0.7.1-pre3.jar) it was actually in
"/src/resources/version.properties".

After changing that myself, now i'm getting this error:

java.lang.NullPointerException
   at gnu.classpath.tools.IOToolkit.copyStream (IOToolkit.java:63)
   at gnu.classpath.tools.doclets.htmldoclet.HtmlDoclet.run
(HtmlDoclet.java:3013)

Looking at the code there, it tries to copy the resource
/htmldoclet/gjdoc.js, which actually doesn't exist in the jar? Weird
stuff... or maybe i'm doing something terribly wrong.

Cheers,
J.V.


On Sat, 12 Feb 2005 19:06:52 +0100, Julian Scheid <address@hidden> wrote:
> Joao Victor wrote:
> > WARNING: No collator found for specified locale inglês (Estados
> > Unidos) or default locale português (Brasil): using default collator.
> > WARNING: No collator found for locale inglês (Estados Unidos): using
> > default collator.
> > java.lang.NullPointerException
> >    at gnu.classpath.tools.gjdoc.DocImpl.compareTo (DocImpl.java:58)
> 
> This is a known issue with java.text.Collator. Use the attached patch by
> Jeroen Frijters to work around it for now.
> 
> Julian
> 
> 
> Index: java/text/Collator.java
> ===================================================================
> RCS file: /cvsroot/classpath/classpath/java/text/Collator.java,v
> retrieving revision 1.11
> diff -u -r1.11 Collator.java
> --- java/text/Collator.java     15 Jun 2004 22:40:39 -0000      1.11
> +++ java/text/Collator.java     10 Feb 2005 10:08:47 -0000
> @@ -308,7 +308,8 @@
>        }
>      catch (MissingResourceException x)
>        {
> -       return null;
> +       pattern = 
> "<0<1<2<3<4<5<6<7<8<9<A,a<b,B<c,C<d,D<e,E<f,F<g,G<h,H<i,I<j,J<k,K" +
> +               
> "<l,L<m,M<n,N<o,O<p,P<q,Q<r,R<s,S<t,T<u,U<v,V<w,W<x,X<y,Y<z,Z";
>        }
>      try
>        {
> @@ -316,7 +317,7 @@
>        }
>      catch (ParseException x)
>        {
> -       return null;
> +       throw (InternalError)new InternalError().initCause(x);
>        }
>    }
> 
> 
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]