Occupational Therapy in the School
WarningFor this question we have not yet organized an advisory council in the specified regions and/or condition
Question
What information can I give to Occupational Therapist at my 3-year-old’s school?
Answer of our experts
Occupational therapy services are to be provided at school when the child's needs (as assessed by the OT) are deemed to be keeping the child from learning. So, for example, the occupational therapist may find it necessary to work individually with the child in improving fine motor skills so that the child can complete handwriting activities. The occupational therapist may also recommend that the services be provided to the child on a consultant basis - by coaching the teacher or para-professional and not necessarily by working directly with the child
An area that is more confusing, is the one of providing individual occupational therapy services to assist the child in attending, in staying modulated, and/or in offering what is called a 'sensory diet'. In many school systems, these services are not deemed necessary to the direct learning process and are therefore not included in the IEP (Individualized Education Plan) as services to be provided by the OT. Sometimes, other school systems have the occupational therapist work out of the “assistive technology” group only as a consultant and they may present observations, assessments, and recommendations to be implemented by the teacher in the classroom. Very few school systems will let the occupational therapist be involved in activities of daily living, helping in the evaluation and goal implementation of goals such as: independent dressing skills, independent feeding, and independent toileting. In the case of children that have other issues, such as visual impairments or behavioral issues, the OT is not expected to bring their expertise in these areas to be included in the educational plan
My suggestion is that the family meet with the person in charge of the special education department and review the role of the occupational therapist in the school. In many cases, I have served as a 'second opinion' person, clarifying roles and assisting the OT in the case to expand on their role for the benefit of the child. If this family has a private OT, they may want to have him/her meet with the school OT to join efforts towards developing the best intervention plan for the child
MC/ TK 7-13-10

Failed to execute the [velocity] macro. Cause: [null]. Click on this message for details.
org.xwiki.rendering.macro.MacroExecutionException: Failed to evaluate Velocity Macro for content [{{html}}
##------------------------------------------------------------------------------------
## WaihonaPedia has a Topic-tag model
## the idea is like the xwiki-tag model, but the difference that you can only tag with predefined Topics
## Below we show these tags
## and when context.user is a moderator we offer some edit functionality
##------------------------------------------------------------------------------------
## Refactored "Read More Like This" Logic
#set($topicClassName = "WaihonaCode.pageTopicTagClass")
#set($storyClassName = 'WaihonaCode.themeRoomCloserLookClass')
#set($atePublicClassName = 'WaihonaCode.ATEPublic.ATEPublicClass')
## Predefine the class and query for topic descriptions
#set($topicDescriptionClassName = 'WaihonaCode.healthTopicsClass')
#set($articleClasses = [$storyClassName, $atePublicClassName])
#set($articleTypes = {
"stories": $storyClassName,
"answers": $atePublicClassName,
"information": $topicClassName
})
## Define the sheet mapping for index displayers
#set($articleTypeIndexSheets = {
"stories": "WaihonaCode.publicInfo.storyDisplayer",
"answers": "ATEPublic.topicATEDisplayer",
"information": "WaihonaCode.publicInfo.infoDisplayer"
})
#set($topicTagQueryDef = "from doc.object($topicClassName) as topicTag where topicTag.topicKey = :key")
#set($storyQueryDef = "from doc.object($storyClassName) as story where story.storyTopicKey = :key")
#set($topicDescriptionQueryDef = "from doc.object($topicDescriptionClassName) as topic where topic.key = :thisKey")
## Step 1: Collect unique topicKeys for the current page
#set($topicKeys = [])
## Collect topicKeys from WaihonaCode.pageTopicTagClass
#set($classKeys = [])
#foreach($topicObject in $doc.getObjects($topicClassName, "topicType", "2"))
#if($topicObject.getProperty("topicKey").getValue())
#set($discard = $classKeys.add($topicObject.getProperty("topicKey").getValue()))
#end
#end
#set($topicKeys = $collectiontool.union($topicKeys, $classKeys))
## Collect topicKeys from article-specific classes
#set($articleKeys = [])
#foreach($className in $articleClasses)
#if($doc.getObject($className) && $doc.getObject($className).getProperty("storyTopicKey").getValue() != '')
#set($discard = $articleKeys.add($doc.getObject($className).getProperty("storyTopicKey").getValue()))
#end
#end
#set($topicKeys = $collectiontool.union($topicKeys, $articleKeys))
#if($doc.getObject($atePublicClassName))
#set($ateTopicKeys = [])
#getATETopicTags($ateTopicKeys)
#set($topicKeys = $collectiontool.union($topicKeys, $ateTopicKeys))
#end
## Define the disease-based root path (adjust dynamically for the current disease)
## Assume that the list of topicKeys point a the collection of diseases
## But currently ONE artike is linked to maximum of ONE dsisease, so we can safely break after ONE
#set($diseaseLibraryBasePath = '')
#foreach($thisKey in $topicKeys)
#getDiseaseWithTopic($thisKey, $diseaseLibraryBasePath)
#break
#end
#if($diseaseLibraryBasePath != '')
#set($diseaseLibraryDoc = $xwiki.getDocument($diseaseLibraryBasePath))
#end
## Step 2: Query and count articles by type for each topicKey
#set($tagData = {}) ## Structure: { topicKey: {type: count} }
#set($currentDocRef = $doc.getDocumentReference())
#foreach($key in $topicKeys)
#set($typeCounts = {})
#set($storyDocRefArray = [])
#set($ateDocRefArray = [])
#foreach($type in $articleTypes.keySet())
#set($className = $articleTypes.get($type))
#set($typeCount = 0)
## Dynamic query based on article type
#if($className == $storyClassName)
## For Patient story type, use storyTopicKey
#set($articlesHavingStoryClassList = $services.query.xwql($storyQueryDef).bindValue("key", $key).addFilter("unique").execute())
#foreach($articlesHavingStoryDocRef in $articlesHavingStoryClassList)
#if($xwiki.getDocument($articlesHavingStoryDocRef).getDocumentReference() != $currentDocRef)## Avoid double count
#set($typeCount = $typeCount + 1)
#set($discard = $storyDocRefArray.add($articlesHavingStoryDocRef))## to be able to filter topicTag Query
#end
#end
## For other types, loop through a list of pages with topicTagObjects
#set($potentialStoryDocRefList = $services.query.xwql($topicTagQueryDef).bindValue("key", $key).addFilter("unique").execute())
#foreach($potentialStoryDocRef in $potentialStoryDocRefList)
#if($xwiki.getDocument($potentialStoryDocRef).getObject($className)
&& !$storyDocRefArray.contains($potentialStoryDocRef))
#if($xwiki.getDocument($potentialStoryDocRef).getDocumentReference() != $currentDocRef)## Avoid double count
#set($discard = $storyDocRefArray.add($potentialStoryDocRef))
#set($typeCount = $typeCount + 1)
#end
#end
#end
#else
## For other types, loop through a list of pages with topicTagObjects
#set($otherTypeDocRefList = $services.query.xwql($topicTagQueryDef).bindValue("key", $key).addFilter("unique").execute())
#set($typeCount = 0)
## Issue with count of Expert Articles, example WaihonaPediaThemes.cdls0.cdls0sub2 counts 2 expert articles while there is only 1?
#foreach($otherTypeDocRef in $otherTypeDocRefList)
#if($xwiki.getDocument($otherTypeDocRef).getObject($className))
#if($xwiki.getDocument($otherTypeDocRef).getDocumentReference() != $currentDocRef) ## Avoid double count
## Issue with ATEPublic articles, on the number found seems still to double count because of translation issue
#if($className == $atePublicClassName)
#set($discard = $ateDocRefArray.add($otherTypeDocRef))
#set($typeCount = $typeCount + 1)
#else
#if(!$ateDocRefArray.contains($otherTypeDocRef)
&& !$storyDocRefArray.contains($otherTypeDocRef))
#set($typeCount = $typeCount + 1)
#end
#end##$className == $atePublicClassName
#end## Avoid double count
#end##class name
#end
#end
#set($discard = $typeCounts.put($type, $typeCount))
#end
## Calculate total count manually
#set($totalCount = 0)
#foreach($count in $typeCounts.values())
#set($totalCount = $totalCount + $count)
#end
## Add typeCounts to tagData if there is at least one non-zero count
#if($totalCount > 0)
#set($discard = $tagData.put($key, $typeCounts))
#end
#end
## Step 3: Render tags if article count > 0
#if($tagData.size() > 0)
<div class='meta-topics'>
<span class='meta-topics-label'>$services.localization.render('waihonapedia.meta.topics.title')</span>
<span class="topics-with-page">
#foreach($entry in $tagData.entrySet())
#set($key = $entry.key)
#set($typeCounts = $entry.value)
## Fetch the localized description for the current topicKey
#set($topicDescription = "")
#set($topicDescriptionList = $services.query.xwql($topicDescriptionQueryDef).bindValue('thisKey', $key).addFilter('unique').execute())
#foreach($topicDescriptionDocRef in $topicDescriptionList)
#set($topicDescriptionDoc = $xwiki.getDocument($topicDescriptionDocRef))
#set($topicDescription = $topicDescriptionDoc.getTranslatedDocument().getPlainTitle())
#end
## Iterate through each type and count
#foreach($type in $articleTypes.keySet())
#if($typeCounts.get($type) > 0)
## Construct the index page URL dynamically
#set($indexSheet = $articleTypeIndexSheets.get($type))
#set($indexURL = $diseaseLibraryDoc.getURL('view', "sheet=${indexSheet}&topic=${key}"))
<span class="label topic-link">
<a href="$indexURL">
<span class='wai-tile-icon-area'>
<span class="wai-tile-icon waihonapedia-${type}" style='width: 1.25em; height: 1.25em;'> </span>
</span> $topicDescription <span class='badge badge-light'>${typeCounts.get($type)}</span>
</a>
</span>
#end
#end
#end
</span>
</div>
#end
#macro(getDiseaseWithTopic $thisTopicKey, $diseaseLibraryBasePath)
##titi $thisTopicKey
#set($diseaseClassName = 'WaihonaCode.diseaseClass')
#set($diseaseTagClassName = 'WaihonaCode.ATEPublic.diseaseTagClass')
#set($topicClassName = 'WaihonaCode.healthTopicsClass')
#set($topicQueryByKeyDef = "from doc.object($topicClassName) as topic where topic.key = :thisTopicKey")
#set($topicQueryByParentKeyDef = "from doc.object($topicClassName) as topic where topic.parent = :thisParentKey")
#set($diseaseByKeyQueryDef = "from doc.object($diseaseClassName) as disease where disease.key = :diseaseKey")
##
#if($thisTopicKey && $thisTopicKey != '')
#set($topicDocRefByKeyList = $services.query.xwql($topicQueryByKeyDef).bindValue("thisTopicKey", $thisTopicKey ).addFilter("unique").execute())
#end
#foreach($topicDocRef in $topicDocRefByKeyList)
#set($topicDoc = $xwiki.getDocument($topicDocRef) )
#if(!$topicDoc.getObject($diseaseTagClassName))
#set($diseaseObject = {})
#getDisease($thisTopicKey, $diseaseObject)
#if($diseaseObject.key && $diseaseObject.key !='')
#set($diseaseDocRefByKeyList = $services.query.xwql($diseaseByKeyQueryDef).bindValue("diseaseKey", $diseaseObject.key ).addFilter("unique").execute())
#else
#set($diseaseDocRefByKeyList = [])
#end
#foreach($diseaseDocRef in $diseaseDocRefByKeyList)
#set($diseaseDoc = $xwiki.getDocument($diseaseDocRef))
#set($diseaseLibraryBasePath = $diseaseDoc.getObject($diseaseClassName).getProperty('publicationspace').getValue())
#end
#else
#set($diseaseKey = $topicDoc.getObject($diseaseTagClassName).getProperty('diseaseKey').getValue() )
#set($diseaseDocRefByKeyList = $services.query.xwql($diseaseByKeyQueryDef).bindValue("diseaseKey", $diseaseKey ).addFilter("unique").execute())
#foreach($diseaseDocRef in $diseaseDocRefByKeyList)
#set($diseaseDoc = $xwiki.getDocument($diseaseDocRef))
#set($diseaseLibraryBasePath = $diseaseDoc.getObject($diseaseClassName).getProperty('publicationspace').getValue())
#end
#end
#end
#end
#macro(getATETopicTags)
#set($ateQuestionParentQueryDef = "from doc.object($atePublicClassName) as qa where qa.questionID = :questionID")
#set($ateQuestionTranslationsQueryDef = "from doc.object($atePublicClassName) as qa where qa.parentQuestionID = :questionID")
## Step 1: Identify Translations of the Current Page
#set($relatedPages = [])
##if($doc.getObject($atePublicClassName))
## Check if this is a translated page (has 'parentQuestionID')
#set($parentQuestionID = $doc.getObject($atePublicClassName).getProperty('parentQuestionID').getValue())
#set($questionID = $doc.getObject($atePublicClassName).getProperty('questionID').getValue())
#if($parentQuestionID)
## Fetch the original page (parent of the translation)
#set($originalPageList = $services.query.xwql($ateQuestionParentQueryDef).bindValue('questionID', $parentQuestionID).addFilter('unique').execute())
#set($relatedPages = $collectiontool.union($relatedPages, $originalPageList))
#elseif($questionID)
## Fetch all translations of this page
#set($translationPageList = $services.query.xwql($ateQuestionTranslationsQueryDef).bindValue('questionID', $questionID).addFilter('unique').execute())
#set($relatedPages = $collectiontool.union($relatedPages, $translationPageList))
#end
## Add the current page to the relatedPages
#set($currentPageRef = $doc.getDocumentReference())
#if(!$relatedPages.contains($currentPageRef))
#set($discard = $relatedPages.add($currentPageRef))
#end
## Step 2: Collect TopicTags from All Related Pages
#set($aggregatedTopicKeys = [])
#foreach($pageRef in $relatedPages)
#set($relatedDoc = $xwiki.getDocument($pageRef))
#foreach($topicObject in $relatedDoc.getObjects($topicClassName, "topicType", "2"))
#if($topicObject.getProperty("topicKey").getValue())
#set($discard = $aggregatedTopicKeys.add($topicObject.getProperty("topicKey").getValue()))
#end
#end
#end
## Ensure Unique TopicKeys Manually
#set($uniqueTopicKeysMap = {})
#foreach($topicKey in $aggregatedTopicKeys)
#if(!$uniqueTopicKeysMap.containsKey($topicKey))
#set($discard = $uniqueTopicKeysMap.put($topicKey, true))
#end
#end
## Convert the Map keys back to a list
#foreach($key in $uniqueTopicKeysMap.keySet())
#set($discard = $ateTopicKeys.add($key))
#end
#end
#macro(getDisease $thisTopicKey $diseaseObject)
#set($maxDepth = 10)
#set($range = [0..$maxDepth])
#set($currentKey = $thisTopicKey)
#set($found = false)
#foreach($i in $range)
#if($found || !$currentKey)
#break()
#end
## Your logic here, e.g., querying with $currentKey
#set($topicDocList = $services.query.xwql($topicQueryByKeyDef).bindValue('thisTopicKey', $currentKey).addFilter('unique').execute())
#if($topicDocList.size() > 0)
#foreach($topicDocRef in $topicDocList)
#set($topicDoc = $xwiki.getDocument($topicDocRef))
#if($topicDoc.getObject($diseaseTagClassName))
#set($found = true)
#toplevelTopic($topicDoc.documentReference $diseaseObject)
#else
#set($topicObj = $topicDoc.getObject($topicClassName))
#set($currentKey = $topicObj.getProperty('parent').getValue())
#end
#end
#else
#set($currentKey = '')
#end
#end
#end
#macro(toplevelTopic $topicTopLevelDocRef $diseaseObject)
#set($diseaseKey = $xwiki.getDocument($topicTopLevelDocRef).getObject($diseaseTagClassName).getProperty('diseaseKey').getValue() )
#if($diseaseKey && $diseaseKey != '')
#set($discard = $diseaseObject.put('key', $diseaseKey))
#set($diseaseClassName = 'WaihonaCode.diseaseClass')
#set($diseaseQueryDef = "from doc.object($diseaseClassName) as dis where dis.key = :thisKey")
#set($diseaseDocList = $services.query.xwql($diseaseQueryDef).bindValue('thisKey', $diseaseKey).addFilter('unique').execute() )
#foreach($diseaseDocRef in $diseaseDocList)
#set($thisTitle = $xwiki.getDocument($diseaseDocRef).getTranslatedDocument().getPlainTitle())
#set($thisContent = $xwiki.getDocument($diseaseDocRef).getTranslatedContent() )
#end
#else
#set($thisTitle = "unknown syndrome on $xwiki.getDocument($topicTopLevelDocRef).getPlainTitle()")
#set($thisContent = '' )
#end
#set($discard = $diseaseObject.put('title', $thisTitle) )
#set($discard = $diseaseObject.put('content', $thisContent) )
#end
{{/html}}]
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:186)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:60)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:279)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:441)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.transform(AbstractBlockAsyncRenderer.java:76)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRenderer.tranform(DefaultBlockAsyncRenderer.java:154)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRenderer.execute(DefaultBlockAsyncRenderer.java:137)
at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:157)
at org.xwiki.uiextension.internal.WikiUIExtension.render(WikiUIExtension.java:201)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor$DecoratorWrapper.render(DefaultBlockAsyncRendererExecutor.java:67)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor$DecoratorWrapper.render(DefaultBlockAsyncRendererExecutor.java:49)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:284)
at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:284)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:267)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.execute(DefaultBlockAsyncRendererExecutor.java:125)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.execute(DefaultBlockAsyncRendererExecutor.java:113)
at org.xwiki.uiextension.internal.AbstractWikiUIExtension.execute(AbstractWikiUIExtension.java:101)
at org.xwiki.uiextension.internal.AbstractWikiUIExtension.execute(AbstractWikiUIExtension.java:89)
at jdk.internal.reflect.GeneratedMethodAccessor409.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:571)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:554)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:221)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:368)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:704)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:75)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:167)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:368)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:492)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.directive.Foreach.renderBlock(Foreach.java:309)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:279)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:190)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.Template.merge(Template.java:358)
at org.apache.velocity.Template.merge(Template.java:262)
at org.xwiki.velocity.internal.InternalVelocityEngine.evaluate(InternalVelocityEngine.java:233)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:168)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:60)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:279)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:182)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:441)
at org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:88)
at org.xwiki.display.internal.DocumentContentAsyncExecutor.executeInCurrentExecutionContext(DocumentContentAsyncExecutor.java:396)
at org.xwiki.display.internal.DocumentContentAsyncExecutor.execute(DocumentContentAsyncExecutor.java:269)
at org.xwiki.display.internal.DocumentContentAsyncRenderer.execute(DocumentContentAsyncRenderer.java:112)
at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:157)
at org.xwiki.rendering.async.internal.block.AbstractBlockAsyncRenderer.render(AbstractBlockAsyncRenderer.java:54)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:290)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:267)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.execute(DefaultBlockAsyncRendererExecutor.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:93)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:46)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:39)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:245)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.applySheet(SheetDocumentDisplayer.java:225)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.maybeDisplayWithSheet(SheetDocumentDisplayer.java:180)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:111)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:52)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:68)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:42)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1431)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1567)
at com.xpn.xwiki.doc.XWikiDocument.displayDocument(XWikiDocument.java:1517)
at com.xpn.xwiki.doc.XWikiDocument.displayDocument(XWikiDocument.java:1486)
at com.xpn.xwiki.api.Document.displayDocument(Document.java:821)
at jdk.internal.reflect.GeneratedMethodAccessor543.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:571)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:554)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:221)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:368)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:704)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:75)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:242)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:190)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.xwiki.velocity.internal.directive.TryCatchDirective.render(TryCatchDirective.java:86)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.Template.merge(Template.java:358)
at org.apache.velocity.Template.merge(Template.java:262)
at org.xwiki.velocity.internal.InternalVelocityEngine.evaluate(InternalVelocityEngine.java:233)
at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.evaluateContent(VelocityTemplateEvaluator.java:107)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:219)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.renderVelocity(TemplateAsyncRenderer.java:174)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:135)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:54)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:284)
at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:284)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:267)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.render(DefaultBlockAsyncRendererExecutor.java:154)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:907)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:869)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:856)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderNoException(InternalTemplateManager.java:811)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderNoException(InternalTemplateManager.java:803)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.renderNoException(DefaultTemplateManager.java:79)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.renderNoException(DefaultTemplateManager.java:73)
at org.xwiki.template.script.TemplateScriptService.render(TemplateScriptService.java:54)
at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:571)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:554)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:221)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:368)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:492)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:217)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:331)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:261)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:171)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.Template.merge(Template.java:358)
at org.apache.velocity.Template.merge(Template.java:262)
at org.xwiki.velocity.internal.InternalVelocityEngine.evaluate(InternalVelocityEngine.java:233)
at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.evaluateContent(VelocityTemplateEvaluator.java:107)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:219)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.renderVelocity(TemplateAsyncRenderer.java:174)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:135)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:54)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:284)
at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:284)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:267)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.render(DefaultBlockAsyncRendererExecutor.java:154)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:907)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:869)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:856)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderNoException(InternalTemplateManager.java:811)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderNoException(InternalTemplateManager.java:803)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.renderNoException(DefaultTemplateManager.java:79)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.renderNoException(DefaultTemplateManager.java:73)
at org.xwiki.template.script.TemplateScriptService.render(TemplateScriptService.java:54)
at jdk.internal.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:571)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:554)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:221)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:368)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:492)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:217)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:331)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:261)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:171)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:190)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.Template.merge(Template.java:358)
at org.apache.velocity.Template.merge(Template.java:262)
at org.xwiki.velocity.internal.InternalVelocityEngine.evaluate(InternalVelocityEngine.java:233)
at com.xpn.xwiki.internal.template.VelocityTemplateEvaluator.evaluateContent(VelocityTemplateEvaluator.java:107)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.evaluateContent(TemplateAsyncRenderer.java:219)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.renderVelocity(TemplateAsyncRenderer.java:174)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:135)
at com.xpn.xwiki.internal.template.TemplateAsyncRenderer.render(TemplateAsyncRenderer.java:54)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.lambda$syncRender$0(DefaultAsyncRendererExecutor.java:284)
at com.xpn.xwiki.internal.security.authorization.DefaultAuthorExecutor.call(DefaultAuthorExecutor.java:98)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.syncRender(DefaultAsyncRendererExecutor.java:284)
at org.xwiki.rendering.async.internal.DefaultAsyncRendererExecutor.render(DefaultAsyncRendererExecutor.java:267)
at org.xwiki.rendering.async.internal.block.DefaultBlockAsyncRendererExecutor.render(DefaultBlockAsyncRendererExecutor.java:154)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:907)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:869)
at com.xpn.xwiki.internal.template.InternalTemplateManager.renderFromSkin(InternalTemplateManager.java:849)
at com.xpn.xwiki.internal.template.InternalTemplateManager.render(InternalTemplateManager.java:835)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:91)
at com.xpn.xwiki.internal.template.DefaultTemplateManager.render(DefaultTemplateManager.java:85)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:2569)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:180)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:651)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:339)
at com.xpn.xwiki.web.LegacyActionServlet.service(LegacyActionServlet.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:122)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:132)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:209)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:656)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:397)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:935)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1826)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1189)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:658)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63)
at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with namespace [xwiki:WaihonaBase.uixCollections.contentFooter.waiTopicTagsUIX-2^XWiki.UIExtensionClass[0]]
at org.xwiki.velocity.internal.InternalVelocityEngine.evaluate(InternalVelocityEngine.java:235)
at org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:168)
... 235 more
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'execute' in class org.xwiki.query.internal.ScriptQuery threw exception org.xwiki.query.QueryException: Exception while executing query. Query statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as story , com.xpn.xwiki.objects.StringProperty as story_storyTopicKey1 where ( story_storyTopicKey1.value = :key ) and doc.fullName=story.name and story.className='WaihonaCode.themeRoomCloserLookClass' and story_storyTopicKey1.id.id=story.id and story_storyTopicKey1.id.name='storyTopicKey' ] at xwiki:WaihonaBase.uixCollections.contentFooter.waiTopicTagsUIX-2[line 82, column 118]
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:308)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:235)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:368)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:704)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:75)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:242)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:171)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.directive.Foreach.renderBlock(Foreach.java:309)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:279)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:147)
at org.apache.velocity.runtime.directive.Foreach.renderBlock(Foreach.java:309)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:279)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:304)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:439)
at org.apache.velocity.Template.merge(Template.java:358)
at org.apache.velocity.Template.merge(Template.java:262)
at org.xwiki.velocity.internal.InternalVelocityEngine.evaluate(InternalVelocityEngine.java:233)
... 236 more
Caused by: org.xwiki.query.QueryException: Exception while executing query. Query statement = [ select doc.fullName from XWikiDocument as doc , BaseObject as story , com.xpn.xwiki.objects.StringProperty as story_storyTopicKey1 where ( story_storyTopicKey1.value = :key ) and doc.fullName=story.name and story.className='WaihonaCode.themeRoomCloserLookClass' and story_storyTopicKey1.id.id=story.id and story_storyTopicKey1.id.name='storyTopicKey' ]
at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:222)
at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:306)
at org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:117)
at org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
at org.xwiki.query.internal.SecureQueryExecutorManager.execute(SecureQueryExecutorManager.java:67)
at org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:306)
at org.xwiki.query.internal.ScriptQuery.execute(ScriptQuery.java:278)
at jdk.internal.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:571)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:554)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:221)
... 254 more
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:835)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:902)
at com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor.execute(HqlQueryExecutor.java:207)
... 267 more
Caused by: java.lang.NullPointerException
Legal Disclaimer
Please take note that the Ask the Expert service is comprised of volunteer professionals in various areas of focus. Answers are not considered a medical, behavioral, or educational consultation. Ask the Expert is not a substitute for the care and attention your child’s personal physician, psychologist, educational consultant, or social worker can deliver.
Do you have a question you would like to ask?
Ask a QuestionDo You urgently need help? Contact the expertise centrum Cornelia de Lange syndroom!
