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);
}
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---