Hi, Holger

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

Thanks,
Patrick

On Monday, 16 November 2020 at 15:31:41 UTC+11 Holger Knublauch wrote:

> 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
>
>
>
> Thanks,
> Patrick
>
> On Monday, 16 November 2020 at 14:44:26 UTC+11 Holger Knublauch wrote:
>
>>
>> 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
>>>  
>>> <https://groups.google.com/d/msgid/topbraid-users/09bd6a0b-0550-4e2f-bfec-084680311732n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> -- 
>> 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/7b349f78-ae70-4ae2-b884-8ccce425934cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/topbraid-users/7b349f78-ae70-4ae2-b884-8ccce425934cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> -- 
> 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/fa5449f3-e9e8-4057-816e-6ccb03daf915n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/fa5449f3-e9e8-4057-816e-6ccb03daf915n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/9d52d332-ad0d-4f67-b432-c2b7d7fe1ae3n%40googlegroups.com.

Reply via email to