Just confirming TB 6.0 behaviour is the same..
On Wednesday, 1 August 2018 11:11:05 UTC+10, Rob Atkinson wrote:
>
> ahh -
> the chrome network trace just has the error report as a http 500 with the
> same message
>
> in the js trace the last call is swa.loadWindow
>
> it remebers the last class opened - if its a different class it only
> happens when you click - but still seems to be the same js trace.
>
> if (uistate.indexOf("&_window=true") > 0) {
> swa.loadWindow(id, args, callback);
> return;
> }
>
>
>
> On Wednesday, 1 August 2018 10:45:23 UTC+10, Holger Knublauch wrote:
>>
>> With Network tab, we are referring to something like Google Chrome
>> Development tools. In Chrome, right click on anything on a page and open
>> Inspect. The DevTools then have a Network tab showing all traffic between
>> the web site and the server(s) such as TopBraid. Other browsers have
>> similar features.
>>
>> Is there anything underneath the NullPointer exception in the log, i.e.
>> any stack trace?
>>
>> Holger
>>
>>
>>
>> On 1/08/2018 10:28, Rob Atkinson wrote:
>>
>> 5.5.1
>>
>> after dismissing the dialog everything seems to work fine - and
>> subsequent interactions with the class navigation pane do not throw any
>> more errors.
>>
>> I cannot find any "tab" in TBC menu, views, EDG or SWA that I can
>> identify as "the network tab" - not sure what you mean
>>
>> The error console shows :
>>
>>
>> eclipse.buildId=unknown
>> java.version=1.8.0_131
>> java.vendor=Oracle Corporation
>> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_AU
>> Command-line arguments: -os win32 -ws win32 -arch x86_64
>>
>> org.topbraidlive.swp
>> Warning
>> Wed Aug 01 07:03:16 AEST 2018
>> Exception in SWP Engine: java.lang.NullPointerException
>> Pseudo-code of surrounding call stack:
>> <swa:Window arg:id="ontologyappSearchWindow" arg:layoutPanel="center"
>> arg:title="Search">
>> <swa:FormSearchGadget arg:cacheId="ontology.main"
>> arg:classSelectedEvent="org.ontologyapp.classSelected"
>> arg:footerPlugin=teamwork:SavedSearchesWithDefaultButtonFooterPlugin
>> arg:resourceType=:Entity>
>> <ui:group let:fid="uniqueId9715"
>> let:searchGraph=<urn:x-swp-session:8a8e7d3e-3223-4625-8fcc-91ce98e76af4>>
>> <ui:setContext let:lid="uniqueId9717" ui:varName="mode"
>> ui:varValue="search">
>> <ui:loadable class="ui-layout-content swa-search-form"
>> ui:loadId="uniqueId9717">
>> <ui:setContext ui:varName="resourceType" ui:varValue=:Entity>
>> <ui:setContext ui:varName="createLinkFunction"
>> ui:varValue=swa:createNewTabLink>
>> <ui:setContext ui:varName="suppressRDFType">
>> <ui:setContext ui:varName="swaRestoreSearch">
>> <form autocomplete="off" class="swa-form search-mode swa-form-search"
>> id="uniqueId9715" onsubmit="$('#test-search-button').click(); return
>> false;"
>> searchGraph=<urn:x-swp-session:8a8e7d3e-3223-4625-8fcc-91ce98e76af4> let:qg=
>> <http://rdfex.org/withImports?uri=urn:x-evn-master:surround_default_provenance_graph:Administrator>
>>
>> <http://rdfex.org/withImports?uri=urn:x-evn-master:surround_default_provenance_graph:Administrator>
>> >
>> <ui:setContext ui:varName="suppressKeyPropertiesSelection">
>> <div class="swa-form-body">
>> <ui:setContext ui:varName="checkAllProperties">
>> <ui:setContext ui:varName="suppressNestedKeyPropertiesSelection">
>> <ui:else>
>> <ui:classView ui:cacheKey="swa:FormSearchGadget/ontology.main/"
>> ui:class=:Entity ui:matchIds="search,form">
>> <ui:group default:hideIfEmpty=true>
>> <swa:ObjectsEnum arg:label="Provenance Chain">
>> <sop:ProvDerivedChain>
>> <swa:ResultSetObjectsView arg:label="Derived from (data)"
>> arg:resultSet=<urn:x-sprn-4870-6x1>>
>> <table class="swa-labeled-objects-table" let:id="uniqueId9721">
>> <tr>
>> <td class="swa-labeled-objects-body-td" id="uniqueId9721">
>> <div>
>> <ui:forEach ui:resultSet=<urn:x-sprn-4871-6x1>>
>> <div class="swa-object-row">
>> <swa:ObjectViewer
>> arg:object=<urn:x-evn-master:tweed:sourcedata:uniqueId6329>>
>>
>>
>> java.lang.NullPointerException
>>
>>
>> On Wednesday, 1 August 2018 07:15:31 UTC+10, Pat Doyle wrote:
>>>
>>> What version are you on? Is the instances pane loading at all - or is it
>>> staying blank? Is there an error in the console, or a failing network
>>> request on the network tab?
>>>
>>> If 5.4, could be due to missing label for class - but that should not be
>>> an issue in 5.5+.
>>>
>>>
>>>
>>> On Tue, Jul 31, 2018 at 5:05 PM Rob Atkinson <[email protected]>
>>> wrote:
>>>
>>>>
>>>> Through a modal HTML dialog.
>>>>
>>>>
>>>> On Monday, 30 July 2018 16:33:43 UTC+10, Holger Knublauch wrote:
>>>>
>>>>> How is the message being reported: Through a JavaScript alert dialog,
>>>>> or the JS console, or where?
>>>>>
>>>>> Usually such things can be debugged by putting breakpoints into the
>>>>> code (e.g. using Chrome dev tools), thus my question above.
>>>>>
>>>>> The class tree does not require labels AFAIK.
>>>>>
>>>>> Holger
>>>>>
>>>>>
>>>>> On 30/07/2018 15:42, Rob Atkinson wrote:
>>>>>
>>>> (unmodified) SWA editor throws a message "null" when opening Class tree
>>>>> at a specific class
>>>>>
>>>>> data has no instances (also throws if instances) - it imports an
>>>>> ontology loaded via EDG (which a specialisation of PROV-O).
>>>>>
>>>>> If you ignore this, the class tree works - and if you reopen that
>>>>> class it does not throw the error again - only after reloading the editor
>>>>> page, the first time.
>>>>>
>>>>> So three questions:
>>>>> 1) what is causing this (if known or guessable)
>>>>> 2) is there any way to get more useful diagnostics - such as a stack
>>>>> trace or something to show where it fails
>>>>> 3) is there a unknown contract - i.e. something the data _must_ do -
>>>>> such as have labels (in this case all classes do) - or should it really
>>>>> handle any OWL class model ?
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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 [email protected].
>>>>>
>>>>>
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>> --
>>>> 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 [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>> --
>> 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 [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.