Hello,
I have a servlet that uploads projects to the TBL server via a post request
to http://[server-url]:8080/tbl/tbl/unzipProject.
This code worked fine in 3.2.* but the submission fails with the following
stack in 3.3.1:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(String.java:1931)
java.lang.String.substring(String.java:1904)
org.topbraid.core.util.TBWorkspaceUtil.extractProjectToTmp(TBWorkspaceUtil.java:244)
org.topbraid.core.util.TBWorkspaceUtil.getUri2File(TBWorkspaceUtil.java:213)
org.topbraid.core.util.TBWorkspaceUtil.getBaseURIsOfProject(TBWorkspaceUtil.java:189)
org.topbraid.core.util.TBWorkspaceUtil.getBaseURIsOfProject(TBWorkspaceUtil.java:171)
org.topbraidlive.admin.servlets.UnzipProjectServlet.checkBaseURIExists(UnzipProjectServlet.java:218)
org.topbraidlive.admin.servlets.UnzipProjectServlet.processProjectForBaseURI(UnzipProjectServlet.java:177)
org.topbraidlive.admin.servlets.UnzipProjectServlet.doPost(UnzipProjectServlet.java:85)
org.topbraidlive.admin.servlets.GenericProjectServlet.doPost(GenericProjectServlet.java:92)
org.topbraidlive.admin.servlets.BufferedProjectServlet.doPost(BufferedProjectServlet.java:27)
javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:59)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
org.topbraidlive.servletbridge.webapplicationserver.BridgeServlet.service(BridgeServlet.java:152)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
This looks like it's coming from TBL and that something is wrong with
my zipped project but I can tell from the stack, what is wrong.
Can someone tell from the stack what might be wrong?
Thanks,
Gerrick
--
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
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/topbraid-users?hl=en