TheProjecter / simal

Automatically exported from code.google.com/p/simal
0 stars 0 forks source link

Error Importing from PTSW #130

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I got the following error when importing from PTSW:

Unable to add projects from PTSW Export

Error reported by: class uk.ac.osswatch.simal.wicket.ToolsPage

Caused by: uk.ac.osswatch.simal.rdf.SimalRepositoryException: Unable to
prepare data from file:/tmp/PTSWExport.xml for adding to the repository

uk.ac.osswatch.simal.wicket.UserReportableException: Unable to add projects
from PTSW Export
    at uk.ac.osswatch.simal.wicket.ToolsPage.importPTSW(ToolsPage.java:110)
    at uk.ac.osswatch.simal.wicket.ToolsPage.access$000(ToolsPage.java:42)
    at uk.ac.osswatch.simal.wicket.ToolsPage$1.onClick(ToolsPage.java:52)
    at org.apache.wicket.markup.html.link.Link.onLinkClicked(Link.java:214)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at
org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:
183)
    at
org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarg
et.processEvents(ListenerInterfaceRequestTarget.java:73)
    at
org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRe
questCycleProcessor.java:90)
    at
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1166)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1241)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1316)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
    at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:354)
    at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:194)
    at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1084)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollecti
on.java:206)
    at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
    at org.mortbay.jetty.Server.handle(Server.java:324)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.ja
va:828)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: uk.ac.osswatch.simal.rdf.SimalRepositoryException: Unable to
prepare data from file:/tmp/PTSWExport.xml for adding to the repository
    at uk.ac.osswatch.simal.rdf.io.RDFUtils.preProcess(RDFUtils.java:321)
    at
uk.ac.osswatch.simal.rdf.SimalRepository.addProject(SimalRepository.java:160)
    at uk.ac.osswatch.simal.wicket.ToolsPage.importPTSW(ToolsPage.java:105)
    ... 33 more
Caused by: java.lang.NullPointerException
    at
uk.ac.osswatch.simal.rdf.io.RDFUtils.removeBlankVersionNodes(RDFUtils.java:246)
    at uk.ac.osswatch.simal.rdf.io.RDFUtils.removeBNodes(RDFUtils.java:110)
    at uk.ac.osswatch.simal.rdf.io.RDFUtils.preProcess(RDFUtils.java:297)
    ... 35 more

Original issue reported on code.google.com by rgardler...@gmail.com on 4 Jun 2008 at 11:27

GoogleCodeExporter commented 9 years ago

Original comment by rgardler...@gmail.com on 3 Jul 2008 at 8:58