5 Replies Latest reply on Mar 19, 2016 10:55 PM by puja_kumari

    Jive-SDK    sampletile-list unable to connect to service

    nagendra1891
      hey guys,

      Rashed Talukder Ryan Rutan

      I am trying to play around with add-ons building cool stuff !!!

       

      able to load the configuration.html  successfully, but having issues with loading the action.html.

       

      Basically its not able to communicate with the backend service of the tile.

       

      this is what it looks like

      it never starts the counter !!! my guess is its not able to register or some kind of auth issue.

      Screen Shot 2016-03-19 at 12.24.58 PM.png

       

       

       

      SBS log looks like this

       

       

      016-03-19 12:23:59,631 [EventDispatcher-listener-9] [::] WARN com.jivesoftware.base.event.v2.EventDispatchStats - Event handler [class com.jivesoftware.community.eae.event.listeners.ContainerEventListener] took too long (154 ms) to process event [com.jivesoftware.community.event.CommunityEvent@f59ce7c[eventType=MODIFIED,payload=EntityDescriptor{objectID=2008, objectType=14},params={container=EntityDescriptor{objectID=1, objectType=14}, Type=Modified, originalValue=DbCommunity{ID=2008, parentCommunityID=1, name='asca', displayName='asca', description='sa', creationDate=Fri Feb 26 08:08:24 PST 2016, modificationDate=Sat Mar 19 12:19:43 PDT 2016, localeCode='null', workflowID=-1, properties={contentType.120=false, contentType.800=false, contentType.602=false, contentType.801=false, bgPresetImageUrl=/images/placeBackgrounds/default-blue.jpg, contentType.37=true, contentType.600=true, contentType.1501=false, bgType=preset, integrationCategoryID=-1, bgPosition=left top, contentType.1527402675=false, templateBlurb=template.teamCollaboration.blurb, contentType.2901=false, textColor=ffffff, templateExternallyAccessible=false, templateContentTypes=1,18,37,2901,102,600,1464927464,602, placeTabVisibility=overview,activity, templateOwnerID=0, bgRepeat=repeat, contentType.1464927464=false, templateGroupType=0, contentType.102=true, contentType.1=true, bgColor=cccccc, contentType.1606291040=false, templateSubtitle=template.teamCollaboration.subtitle, templateDesc=template.teamCollaboration.description, contentType.-960826044=true, contentType.2800=false, templateLastModified=1458415183511, contentType.18=true}, types=null, taggableTypes=null}},createdDate=Sat Mar 19 12:23:59 PDT 2016,actor=EntityDescriptor{objectID=1, objectType=3},callingstack=<null>]].

      2016-03-19 12:23:59,651 [EventDispatcher-listener-2] [::] INFO com.jivesoftware.community.integration.tilepage.objecttype.TilePageIndexInfoProvider - User for id 0 could not be found

      2016-03-19 12:27:15,966 [TaskEngineWorker-pool-1] [::] ERROR com.jivesoftware.community.impl.DbBlockIterator - Error getting object with type '-766569546' and id '1112'

      java.util.NoSuchElementException

        at com.jivesoftware.community.impl.DbBlockIterator.getObject(DbBlockIterator.java:124)

        at com.jivesoftware.community.impl.DbBlockIterator.getElement(DbBlockIterator.java:109)

        at com.jivesoftware.community.impl.DbBlockIterator.computeNext(DbBlockIterator.java:90)

        at com.jivesoftware.community.impl.DbBlockIterator.computeNext(DbBlockIterator.java:1)

        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)

        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)

        at com.jivesoftware.community.oauth2.manager.OAuth2CodeManagerImpl.deleteExpired_aroundBody8(OAuth2CodeManagerImpl.java:105)

        at com.jivesoftware.community.oauth2.manager.OAuth2CodeManagerImpl$AjcClosure9.run(OAuth2CodeManagerImpl.java:1)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96cproceed(AbstractTransactionAspect.aj:60)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect$AbstractTransactionAspect$1.proceedWithInvocation(AbstractTransactionAspect.aj:66)

        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:267)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96c(AbstractTransactionAspect.aj:64)

        at com.jivesoftware.community.oauth2.manager.OAuth2CodeManagerImpl.deleteExpired(OAuth2CodeManagerImpl.java:97)

        at com.jivesoftware.community.oauth2.JiveOAuth2DataService.registerAuthorizationCode_aroundBody0(JiveOAuth2DataService.java:95)

        at com.jivesoftware.community.oauth2.JiveOAuth2DataService$AjcClosure1.run(JiveOAuth2DataService.java:1)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96cproceed(AbstractTransactionAspect.aj:60)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect$AbstractTransactionAspect$1.proceedWithInvocation(AbstractTransactionAspect.aj:66)

        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:267)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96c(AbstractTransactionAspect.aj:64)

        at com.jivesoftware.community.oauth2.JiveOAuth2DataService.registerAuthorizationCode(JiveOAuth2DataService.java:90)

        at com.jivesoftware.community.integration.tileinstance.impl.TileInstanceManagerImpl.buildRegisterBody_aroundBody4(TileInstanceManagerImpl.java:518)

        at com.jivesoftware.community.integration.tileinstance.impl.TileInstanceManagerImpl$AjcClosure5.run(TileInstanceManagerImpl.java:1)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96cproceed(AbstractTransactionAspect.aj:60)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect$AbstractTransactionAspect$1.proceedWithInvocation(AbstractTransactionAspect.aj:66)

        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:267)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96c(AbstractTransactionAspect.aj:64)

        at com.jivesoftware.community.integration.tileinstance.impl.TileInstanceManagerImpl.buildRegisterBody(TileInstanceManagerImpl.java:514)

        at com.jivesoftware.community.integration.tileinstance.impl.TileInstanceManagerImpl.register(TileInstanceManagerImpl.java:366)

        at com.jivesoftware.community.integration.tileinstance.impl.TileInstanceRegisterManagerImpl.deliverRegistration(TileInstanceRegisterManagerImpl.java:170)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:497)

        at com.jivesoftware.base.taskmanager.impl.BeanTaskRunnable.run(BeanTaskRunnable.java:51)

        at com.jivesoftware.base.taskmanager.impl.TaskQueue$2.run(TaskQueue.java:520)

        at com.jivesoftware.base.taskmanager.impl.LocalExecutor$3.call(LocalExecutor.java:140)

        at com.jivesoftware.community.aaa.authz.SystemExecutor.executeCallable(SystemExecutor.java:39)

        at com.jivesoftware.base.taskmanager.impl.LocalExecutor.runInSystemContext(LocalExecutor.java:136)

        at com.jivesoftware.base.taskmanager.impl.LocalExecutor.access$2(LocalExecutor.java:123)

        at com.jivesoftware.base.taskmanager.impl.LocalExecutor$1.run(LocalExecutor.java:89)

        at com.jivesoftware.util.task.TaskEngineRunnable.run(TaskEngineRunnable.java:51)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at java.lang.Thread.run(Thread.java:745)

      2016-03-19 12:27:15,968 [TaskEngineWorker-pool-1] [::] ERROR com.jivesoftware.community.impl.DbBlockIterator - Error getting object with type '-766569546' and id '1111'

      java.util.NoSuchElementException

        at com.jivesoftware.community.impl.DbBlockIterator.getObject(DbBlockIterator.java:124)

        at com.jivesoftware.community.impl.DbBlockIterator.getElement(DbBlockIterator.java:109)

        at com.jivesoftware.community.impl.DbBlockIterator.computeNext(DbBlockIterator.java:90)

        at com.jivesoftware.community.impl.DbBlockIterator.computeNext(DbBlockIterator.java:1)

        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)

        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)

        at com.jivesoftware.community.oauth2.manager.OAuth2CodeManagerImpl.deleteExpired_aroundBody8(OAuth2CodeManagerImpl.java:105)

        at com.jivesoftware.community.oauth2.manager.OAuth2CodeManagerImpl$AjcClosure9.run(OAuth2CodeManagerImpl.java:1)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96cproceed(AbstractTransactionAspect.aj:60)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect$AbstractTransactionAspect$1.proceedWithInvocation(AbstractTransactionAspect.aj:66)

        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:267)

        at org.springframework.transaction.aspectj.AbstractTransactionAspect.ajc$around$org_springframework_transaction_aspectj_AbstractTransactionAspect$1$2a73e96c(AbstractTransactionAspect.aj:64)

       

       

      any help or suggestion would be great

       

      Thanks guys