Hello Agnes,

Sorry you ran into this problem.  This bug was present in the r290 release
of gwt-maps, but has since been addressed.  See issue 123:

http://code.google.com/p/gwt-google-apis/issues/detail?id=123

you can build a new version of the gwt-maps jar file by downloading the code
from subversion.  Some brief instructions are in the gwt-maps FAQ:

http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=MapsFAQ

-Eric.

On Fri, Aug 29, 2008 at 4:08 AM, Agnes <[EMAIL PROTECTED]> wrote:

>
> Error:
> <H1>HTTP Status 500 - </H1>
> <HR noShade SIZE=1>
>
> <P><B>type</B> Exception report</P>
> <P><B>message</B> <U></U></P>
> <P><B>description</B> <U>The server encountered an internal error ()
> that prevented it from fulfilling this request.</U></P>
> <P><B>exception</B> <PRE>javax.servlet.ServletException: Servlet
> execution threw an exception
> </PRE>
> <P></P>
> <P><B>root cause</B> <PRE>java.lang.ExceptionInInitializerError
>  com.google.gwt.maps.client.geocode.Waypoint.<init>
> (Waypoint.java:67)
>  de.herbstcampus.server.CVRPOutputs.DistanceMatrix(CVRPOutputs.java:
> 71)
>  de.herbstcampus.server.CVRPOutputs.<init>(CVRPOutputs.java:112)
>
>
> de.herbstcampus.server.FileUploadServlet.getStringOutput(FileUploadServlet.java:
> 67)
>
> de.herbstcampus.server.FileUploadServlet.doPost(FileUploadServlet.java:
> 28)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>  com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java:
> 290)
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> </PRE>
> <P></P>
> <P><B>note</B> <U>The full stack trace of the root cause is available
> in the Apache Tomcat/5.0.28 logs.</U></P>
> <HR noShade SIZE=1>
>
> <H3>Apache Tomcat/5.0.28</H3>
>
>
>
>
> Fragemnt  Code with comments below:
>
> for(int i=0; i<nodesList.size(); i++)
>                {               // read perfectly Node first=
> nodesList.get(i);
>                        for(int j=1+i; j<nodesList.size(); j++)
>                        { // read perfectly Node last = nodesList.get(j);
>                        // code stopped after pressing F5
> //Waypoint wasn't created
>  Waypoint from =  new Waypoint(first.getAddress());
>                         Waypoint to = new Waypoint(last.getAddress());
>                         Waypoint[] query= {from, to};
>
>                         Edge waypoint = new Edge(first,last,query);
>
>                         edgesList.add(waypoint);
>
>
>
>                }
>                }
> >
>


-- 
Eric Z. Ayers - GWT Team - Atlanta, GA USA
http://code.google.com/webtoolkit/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to