Time out when loading from TBC rdf to EDG, 6.4 and 6.3

42 views
Skip to first unread message

Patrick Li

unread,
Nov 15, 2020, 10:15:01 PM11/15/20
to TopBraid Suite Users
Composed my ontology with TBC, used EDG 6.4 and 6.3 to load, no response. 
When create new ontology, tried to import, running circle no response.
Any clue why is this? However I am able to load EDG examples as a zip file online, but not the ones I created with TBC.

Thanks,
Patrick

Holger Knublauch

unread,
Nov 15, 2020, 10:17:14 PM11/15/20
to topbrai...@googlegroups.com

Hi Patrick,

when you say "to load" what did you do exactly? Did you create an empty Ontology and then did an RDF file import of your file?

Then what happened exactly: is there any error in the error log?

Holger

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/09bd6a0b-0550-4e2f-bfec-084680311732n%40googlegroups.com.

Patrick Li

unread,
Nov 15, 2020, 10:30:31 PM11/15/20
to TopBraid Suite Users
i tried two ways, one is to create an empty ontology on EDG, then tried to import, but the import tab is not working. the second way I tried was to create ontology on the existing files, I think this is the new feature introduced to 6.4, after I clicked process, it runs forever and not returning anything. error possibly related to this is:
Internal Server Error: An internal error has been reported by the SWP engine of TopBraid Live.
Summary: [Failed to construct SWP argument http://uispin.org/letrs#scripts at template
<ui:group letrs:scripts='{#

Thanks

Holger Knublauch

unread,
Nov 15, 2020, 10:44:26 PM11/15/20
to topbrai...@googlegroups.com


On 11/16/2020 1:30 PM, Patrick Li wrote:
i tried two ways, one is to create an empty ontology on EDG, then tried to import, but the import tab is not working.
Allow me to follow up here: are you saying the import tab is not even showing up, or did you get to the point where you have uploaded your file but then you got an error?

the second way I tried was to create ontology on the existing files, I think this is the new feature introduced to 6.4, after I clicked process, it runs forever and not returning anything. error possibly related to this is:
Internal Server Error: An internal error has been reported by the SWP engine of TopBraid Live.
Summary: [Failed to construct SWP argument http://uispin.org/letrs#scripts at template
<ui:group letrs:scripts='{#

Ok this may be pointing at something. This code is displaying so-called script-based import plugins on the Import tab (teamwork:ScriptBasedImportPlugin). If this crashes then the whole Imports tab may become unusable. The query here is

SELECT ?script ?graph
        WHERE {
            {
                ?path tops:files ( "" true ) .
                BIND (smf:baseURI(?path) AS ?graph) .
                FILTER ((bound(?graph) &amp;&amp; smf:canRead(?graph)) &amp;&amp; CONTAINS(?path, ".sms.")) .
            } .
            GRAPH ?graph {
                ?script a sm:Function .
                BIND (teamwork:getProjectType(?projectGraph) AS ?projectType) .
                FILTER (EXISTS {
                    ?script teamworkscripts:suitableProjectType ?projectType .
                } || EXISTS {
                    ?script teamworkscripts:suitableVocabulary ?projectGraph .
                }) .
            } .
        }

which will iterate over all files in your workspace that end with .sms.* - these are SPARQLMotion scripts. Do you remember importing or creating any such files in your own projects? Could you try to remove or rename them so that they no longer block the Import tab?

If that isn't possible, do you have the complete stack trace of the error that you have observed above?

(I am not even yet investigating the question of the new Create EDG Ontologies for Existing Files button as we really ought to make the normal Import feature work here, but is your file somehow importing other files from the web?).

Also feel free to send me the file that you're trying to import off-list so that I can try to reproduce the issue.

Holger



Thanks

On Monday, 16 November 2020 at 14:17:14 UTC+11 Holger Knublauch wrote:

Hi Patrick,

when you say "to load" what did you do exactly? Did you create an empty Ontology and then did an RDF file import of your file?

Then what happened exactly: is there any error in the error log?

Holger


On 11/16/2020 1:14 PM, Patrick Li wrote:
Composed my ontology with TBC, used EDG 6.4 and 6.3 to load, no response. 
When create new ontology, tried to import, running circle no response.
Any clue why is this? However I am able to load EDG examples as a zip file online, but not the ones I created with TBC.

Thanks,
Patrick
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/09bd6a0b-0550-4e2f-bfec-084680311732n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.

Patrick Li

unread,
Nov 15, 2020, 11:19:57 PM11/15/20
to TopBraid Suite Users
Hi,
Thanks for your reply.
I dont remember importing these files into my project. The import tab does not show up, and it is unusable.  I attached the whole error message.

Internal Server Error: An internal error has been reported by the SWP engine of TopBraid Live.

Summary: [Failed to construct SWP argument http://uispin.org/letrs#scripts at template
<ui:group letrs:scripts='{#
        SELECT ?script ?graph
        WHERE {
            {
                ?path tops:files ( "" true ) .
                BIND (smf:baseURI(?path) AS ?graph) .
                FILTER ((bound(?graph) &amp;&amp; smf:canRead(?graph)) &amp;&amp; CONTAINS(?path, ".sms.")) .
            } .
            GRAPH ?graph {
                ?script a sm:Function .
                BIND (teamwork:getProjectType(?projectGraph) AS ?projectType) .
                FILTER (EXISTS {
                    ?script teamworkscripts:suitableProjectType ?projectType .
                } || EXISTS {
                    ?script teamworkscripts:suitableVocabulary ?projectGraph .
                }) .
            } .
        } }'>
    <ui:if ui:condition="{= !spr:isEmpty(?scripts) }">
        <teamwork:ActionLink arg:comment="Available import scripts:"
                             arg:icon="lib/teamwork/build/images/teamwork/script.svg"
                             arg:title="Import File using Script">
            <ul>
                <ui:forEach ui:resultSet="{= ?scripts }">
                    <li>
                        <ui:createLink arg:projectGraph="{= ?projectGraph }"
                                       arg:script="{= ?script }"
                                       arg:scriptGraph="{= ?graph }"
                                       arg:tag="{= ?tag }"
                                       ui:viewClass="teamwork:ScriptBasedFileImportPage">
                            <a href="{= ?link }">{= swa:labelInGraph(?script, ?graph) }</a>
                        </ui:createLink>
                    </li>
                </ui:forEach>
            </ul>
        </teamwork:ActionLink>
    </ui:if>
</ui:group>
 in query SELECT  ?script ?graph
WHERE
  { { ?path  <http://www.topbraid.org/tops#files>  ( "" true )
      BIND(<http://topbraid.org/sparqlmotionfunctions#baseURI>(?path) AS ?graph)
      FILTER ( ( bound(?graph) && <http://topbraid.org/sparqlmotionfunctions#canRead>(?graph) ) && contains(?path, ".sms.") )
    }
    GRAPH ?graph
        BIND(<http://topbraid.org/teamwork#getProjectType>(?projectGraph) AS ?projectType)
        FILTER ( EXISTS { ?script  <http://topbraid.org/teamworkscripts#suitableProjectType>  ?projectType } || EXISTS { ?script  <http://topbraid.org/teamworkscripts#suitableVocabulary>  ?projectGraph } )
      }
  }


in SWP code:

<ui:group @letrs:scripts>

in prototype of teamwork:ScriptBasedImportPlugin

<ui:dynamicView arg:projectGraph=<urn:x-evn-master:test> ui:class=<http://topbraid.org/teamwork#ScriptBasedImportPlugin>>

<ui:forEach ui:resultSet=<urn:x:sprn-80-4x3>>

<ui:call arg:pluginType=teamwork:ImportPlugin arg:projectGraph=<urn:x-evn-master:test> arg:projectType=<http://teamwork.topbraidlive.org/ontologyprojects#ProjectType> ui:template=teamwork:GetMatchingProjectPlugins>

in prototype of teamwork:ProjectPluginsPanel

<teamwork:ProjectPluginsPanel arg:pluginType=teamwork:ImportPlugin arg:projectGraph=<urn:x-evn-master:test>>

in prototype of teamwork:ImportProjectTab

<ui:dynamicView arg:projectGraph=<urn:x-evn-master:test> ui:class=<http://topbraid.org/teamwork#ImportProjectTab>>

<ui:else>

<ui:loadable class="project-tab" id="loadable-tabs-ImportProjectTab" ui:loadOnDemand=true>

in snippet: @7afddfec-15ce-4d75-b3f1-3ecb18210a39]

Details: org.topbraid.spin.swp.engine.SWPEngineException: Failed to construct SWP argument http://uispin.org/letrs#scripts at template
<ui:group letrs:scripts='{#
        SELECT ?script ?graph
        WHERE {
            {
                ?path tops:files ( "" true ) .
                BIND (smf:baseURI(?path) AS ?graph) .
                FILTER ((bound(?graph) &amp;&amp; smf:canRead(?graph)) &amp;&amp; CONTAINS(?path, ".sms.")) .
            } .
            GRAPH ?graph {
                ?script a sm:Function .
                BIND (teamwork:getProjectType(?projectGraph) AS ?projectType) .
                FILTER (EXISTS {
                    ?script teamworkscripts:suitableProjectType ?projectType .
                } || EXISTS {
                    ?script teamworkscripts:suitableVocabulary ?projectGraph .
                }) .
            } .
        } }'>
    <ui:if ui:condition="{= !spr:isEmpty(?scripts) }">
        <teamwork:ActionLink arg:comment="Available import scripts:"
                             arg:icon="lib/teamwork/build/images/teamwork/script.svg"
                             arg:title="Import File using Script">
            <ul>
                <ui:forEach ui:resultSet="{= ?scripts }">
                    <li>
                        <ui:createLink arg:projectGraph="{= ?projectGraph }"
                                       arg:script="{= ?script }"
                                       arg:scriptGraph="{= ?graph }"
                                       arg:tag="{= ?tag }"
                                       ui:viewClass="teamwork:ScriptBasedFileImportPage">
                            <a href="{= ?link }">{= swa:labelInGraph(?script, ?graph) }</a>
                        </ui:createLink>
                    </li>
                </ui:forEach>
            </ul>
        </teamwork:ActionLink>
    </ui:if>
</ui:group>
 in query SELECT  ?script ?graph
WHERE
  { { ?path  <http://www.topbraid.org/tops#files>  ( "" true )
      BIND(<http://topbraid.org/sparqlmotionfunctions#baseURI>(?path) AS ?graph)
      FILTER ( ( bound(?graph) && <http://topbraid.org/sparqlmotionfunctions#canRead>(?graph) ) && contains(?path, ".sms.") )
    }
    GRAPH ?graph
        BIND(<http://topbraid.org/teamwork#getProjectType>(?projectGraph) AS ?projectType)
        FILTER ( EXISTS { ?script  <http://topbraid.org/teamworkscripts#suitableProjectType>  ?projectType } || EXISTS { ?script  <http://topbraid.org/teamworkscripts#suitableVocabulary>  ?projectGraph } )
      }
  }


in SWP code:

<ui:group @letrs:scripts>

in prototype of teamwork:ScriptBasedImportPlugin

<ui:dynamicView arg:projectGraph=<urn:x-evn-master:test> ui:class=<http://topbraid.org/teamwork#ScriptBasedImportPlugin>>

<ui:forEach ui:resultSet=<urn:x:sprn-80-4x3>>

<ui:call arg:pluginType=teamwork:ImportPlugin arg:projectGraph=<urn:x-evn-master:test> arg:projectType=<http://teamwork.topbraidlive.org/ontologyprojects#ProjectType> ui:template=teamwork:GetMatchingProjectPlugins>

in prototype of teamwork:ProjectPluginsPanel

<teamwork:ProjectPluginsPanel arg:pluginType=teamwork:ImportPlugin arg:projectGraph=<urn:x-evn-master:test>>

in prototype of teamwork:ImportProjectTab

<ui:dynamicView arg:projectGraph=<urn:x-evn-master:test> ui:class=<http://topbraid.org/teamwork#ImportProjectTab>>

<ui:else>

<ui:loadable class="project-tab" id="loadable-tabs-ImportProjectTab" ui:loadOnDemand=true>

in snippet: @7afddfec-15ce-4d75-b3f1-3ecb18210a39

at org.topbraid.spin.swp.engine.SWPEngineException.wrap(SWPEngineException.java:27)

at org.topbraid.spin.swp.engine.SWPEngine.evaluateArguments(SWPEngine.java:1084)

at org.topbraid.spin.swp.engine.SWPEngine.evaluateArguments(SWPEngine.java:956)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:703)

at org.topbraid.spin.swp.engine.SWPEngine.createNodesFromPrototype(SWPEngine.java:821)

at org.topbraid.spin.swp.engine.control.internal.DynamicViewControlElement.lambda$1(DynamicViewControlElement.java:84)

at org.topbraid.spin.swp.engine.SWPEngine.notifyConstruct(SWPEngine.java:674)

at org.topbraid.spin.swp.engine.control.internal.DynamicViewControlElement.runClass(DynamicViewControlElement.java:83)

at org.topbraid.spin.swp.engine.control.internal.DynamicViewControlElement.runClassOrBlockref(DynamicViewControlElement.java:67)

at org.topbraid.spin.swp.engine.control.internal.DynamicViewControlElement.run(DynamicViewControlElement.java:43)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:731)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:688)

at org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:417)

at org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:395)

at org.topbraid.spin.swp.engine.control.internal.ForEachControlElement.run(ForEachControlElement.java:83)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:731)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:688)

at org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:417)

at org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:395)

at org.topbraid.spin.swp.engine.control.internal.CallControlElement.run(CallControlElement.java:60)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:731)

at org.topbraid.spin.swp.engine.SWPEngine.createNodesFromPrototype(SWPEngine.java:821)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:724)

at org.topbraid.spin.swp.engine.SWPEngine.createNodesFromPrototype(SWPEngine.java:821)

at org.topbraid.spin.swp.engine.control.internal.DynamicViewControlElement.lambda$1(DynamicViewControlElement.java:84)

at org.topbraid.spin.swp.engine.SWPEngine.notifyConstruct(SWPEngine.java:674)

at org.topbraid.spin.swp.engine.control.internal.DynamicViewControlElement.runClass(DynamicViewControlElement.java:83)

at org.topbraid.spin.swp.engine.control.internal.DynamicViewControlElement.runClassOrBlockref(DynamicViewControlElement.java:67)

at org.topbraid.spin.swp.engine.control.internal.DynamicViewControlElement.run(DynamicViewControlElement.java:43)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:731)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:688)

at org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:417)

at org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:395)

at org.topbraid.spin.swp.engine.control.internal.ElseControlElement.run(ElseControlElement.java:26)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:731)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:688)

at org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:417)

at org.topbraid.spin.swp.engine.SWPEngine.addChildNodes(SWPEngine.java:395)

at org.topbraid.spin.swp.engine.control.internal.LoadableControlElement.run(LoadableControlElement.java:95)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:731)

at org.topbraid.spin.swp.engine.SWPEngine.createNodes(SWPEngine.java:688)

at org.topbraid.spin.swp.engine.SWPEngine.run(SWPEngine.java:1473)

at org.topbraid.spin.swp.engine.XMLEngine.run(XMLEngine.java:106)

at org.topbraid.spin.swp.servlet.SWPServletUtil.runUncached(SWPServletUtil.java:858)

at org.topbraid.spin.swp.servlet.SWPServletUtil.run(SWPServletUtil.java:730)

at org.topbraidlive.swp.servlet.SWPServlet.run(SWPServlet.java:178)

at org.topbraidlive.swp.servlet.SWPServlet.run(SWPServlet.java:130)

at org.topbraidlive.swp.servlet.SWPServlet.run(SWPServlet.java:112)

at org.topbraidlive.swp.servlet.SWPServlet.doPost(SWPServlet.java:75)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

... Rest omitted

Caused by: java.lang.IllegalArgumentException: Failed to construct SWP argument http://uispin.org/letrs#scripts at template
<ui:group letrs:scripts='{#
        SELECT ?script ?graph
        WHERE {
            {
                ?path tops:files ( "" true ) .
                BIND (smf:baseURI(?path) AS ?graph) .
                FILTER ((bound(?graph) &amp;&amp; smf:canRead(?graph)) &amp;&amp; CONTAINS(?path, ".sms.")) .
            } .
            GRAPH ?graph {
                ?script a sm:Function .
                BIND (teamwork:getProjectType(?projectGraph) AS ?projectType) .
                FILTER (EXISTS {
                    ?script teamworkscripts:suitableProjectType ?projectType .
                } || EXISTS {
                    ?script teamworkscripts:suitableVocabulary ?projectGraph .
                }) .
            } .
        } }'>
    <ui:if ui:condition="{= !spr:isEmpty(?scripts) }">
        <teamwork:ActionLink arg:comment="Available import scripts:"
                             arg:icon="lib/teamwork/build/images/teamwork/script.svg"
                             arg:title="Import File using Script">
            <ul>
                <ui:forEach ui:resultSet="{= ?scripts }">
                    <li>
                        <ui:createLink arg:projectGraph="{= ?projectGraph }"
                                       arg:script="{= ?script }"
                                       arg:scriptGraph="{= ?graph }"
                                       arg:tag="{= ?tag }"
                                       ui:viewClass="teamwork:ScriptBasedFileImportPage">
                            <a href="{= ?link }">{= swa:labelInGraph(?script, ?graph) }</a>
                        </ui:createLink>
                    </li>
                </ui:forEach>
            </ul>
        </teamwork:ActionLink>
    </ui:if>
</ui:group>
 in query SELECT  ?script ?graph
WHERE
  { { ?path  <http://www.topbraid.org/tops#files>  ( "" true )
      BIND(<http://topbraid.org/sparqlmotionfunctions#baseURI>(?path) AS ?graph)
      FILTER ( ( bound(?graph) && <http://topbraid.org/sparqlmotionfunctions#canRead>(?graph) ) && contains(?path, ".sms.") )
    }
    GRAPH ?graph
        BIND(<http://topbraid.org/teamwork#getProjectType>(?projectGraph) AS ?projectType)
        FILTER ( EXISTS { ?script  <http://topbraid.org/teamworkscripts#suitableProjectType>  ?projectType } || EXISTS { ?script  <http://topbraid.org/teamworkscripts#suitableVocabulary>  ?projectGraph } )
      }
  }


at org.topbraid.spin.swp.engine.SWPEngine.evaluateArguments(SWPEngine.java:1078)

... 80 more

Caused by: java.lang.IllegalArgumentException: Could not run tops:files function: java.io.IOException: java.io.IOException: java.lang.NullPointerException

at org.topbraid.sparql.pfunctions.internal.FilesPFunction.exec(FilesPFunction.java:149)

at org.apache.jena.sparql.pfunction.PropertyFunctionBase$RepeatApplyIteratorPF.nextStage(PropertyFunctionBase.java:106)

at org.apache.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage(QueryIterRepeatApply.java:108)

at org.apache.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding(QueryIterRepeatApply.java:65)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.iterator.QueryIterProcedure.hasNextBinding(QueryIterProcedure.java:73)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.iterator.QueryIterProcessBinding.hasNextBinding(QueryIterProcessBinding.java:66)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.iterator.QueryIterProcessBinding.hasNextBinding(QueryIterProcessBinding.java:66)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.iterator.QueryIterProcessBinding.hasNextBinding(QueryIterProcessBinding.java:66)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.iterator.QueryIterProcessBinding.hasNextBinding(QueryIterProcessBinding.java:66)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage(QueryIterRepeatApply.java:101)

at org.apache.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding(QueryIterRepeatApply.java:65)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding(QueryIterConvert.java:58)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:38)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIteratorWrapper.java:38)

at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:114)

at org.apache.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:74)

at org.apache.jena.sparql.engine.ResultSetCheckCondition.hasNext(ResultSetCheckCondition.java:55)

at org.topbraid.spin.swp.internal.sprn.SPRNTable.<init>(SPRNTable.java:39)

at org.topbraid.spin.swp.internal.sprn.SPRNTables.register(SPRNTables.java:124)

at org.topbraid.spin.swp.engine.SWPEngine.addSPRTable(SWPEngine.java:533)

at org.topbraid.spin.swp.engine.SWPEngine.evaluateArguments(SWPEngine.java:1040)

... 80 more

Caused by: java.io.IOException: java.io.IOException: java.lang.NullPointerException

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:246)

at org.topbraid.eclipsex.ContainerBase.accept(ContainerBase.java:190)

at org.topbraid.sparql.pfunctions.internal.FilesPFunction.exec(FilesPFunction.java:114)

... 109 more

Caused by: java.io.IOException: java.lang.NullPointerException

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:246)

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:210)

... 111 more

Caused by: java.lang.NullPointerException

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:195)

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:210)

... 112 more

Thanks,
Patrick

Holger Knublauch

unread,
Nov 15, 2020, 11:31:41 PM11/15/20
to topbrai...@googlegroups.com

Thanks for the details. The new info here (for us) is

On 11/16/2020 2:19 PM, Patrick Li wrote:
Caused by: java.io.IOException: java.io.IOException: java.lang.NullPointerException

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:246)

at org.topbraid.eclipsex.ContainerBase.accept(ContainerBase.java:190)

at org.topbraid.sparql.pfunctions.internal.FilesPFunction.exec(FilesPFunction.java:114)

... 109 more

Caused by: java.io.IOException: java.lang.NullPointerException

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:246)

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:210)

... 111 more

Caused by: java.lang.NullPointerException

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:195)

at org.topbraid.eclipsex.ContainerBase.visitDirectory(ContainerBase.java:210)

... 112 more

which indicates that our code tries to traverse a folder in your workspace that it cannot handle. At this stage I have no idea under what circumstances this may happen but I will forward this to a colleague who knows that code better. I'll get back if I know more.

Meanwhile, are you aware of any special folders such as symbolic link folders or so that may break this traversal?

Holger


Patrick Li

unread,
Nov 15, 2020, 11:46:04 PM11/15/20
to TopBraid Suite Users
Hi, Holger

No special folders detected, the server error still occurs. Waiting for your solution.

Thanks,
Patrick

Patrick Li

unread,
Nov 16, 2020, 12:38:34 AM11/16/20
to TopBraid Suite Users
Hi,

I fixed the issue by deleting an online project imported before, the fibo rdf I previously downloaded. 

Thanks,
Patrick

Reply all
Reply to author
Forward
0 new messages