java.lang.RuntimeException

Error invoking the specified method: getApplicationContext

Solutions on the web26367

  • via Apereo Issues by Chris Wagner, 1 year ago
    Error invoking the specified method: getApplicationContext
  • via Apereo Issues by Chris Wagner, 1 year ago
    Error invoking the specified method: getApplicationContext
  • via Google Groups by Daniel, 1 year ago
    Error invoking method: monopolynetworked.IPlayer.updateBoard
  • Stack trace

    • java.lang.RuntimeException: Error invoking the specified method: getApplicationContext at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:200) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.runtime.ScriptRunner$TaskDecorator.perform(ScriptRunner.java:310) at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:264) at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:204) at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:156) at org.danann.cernunnos.runtime.Main.main(Main.java:59) Caused by: java.lang.RuntimeException: Error invoking the specified method: getBean at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:200) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:123) at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:196) ... 6 more Caused by: java.lang.RuntimeException: Error invoking the specified method: getBean at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:200) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:123) at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:196) ... 9 more Caused by: java.lang.RuntimeException: Unable to iterate files in the specified way. dir=. includes=**/*.channel excludes=[Not Evaluated] at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:158) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:123) at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:123) at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:196) ... 12 more Caused by: java.lang.RuntimeException: Unable to invoke the specified script: classpath://org/jasig/portal/io/import-channel_v3-0.crn at org.danann.cernunnos.flow.CernunnosTask.perform(CernunnosTask.java:91) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:123) at org.danann.cernunnos.core.SetAttributeTask.perform(SetAttributeTask.java:66) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:123) at org.danann.cernunnos.flow.IfTask.perform(IfTask.java:62) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.AbstractContainerTask.performSubtasks(AbstractContainerTask.java:123) at org.danann.cernunnos.io.FileIteratorTask.perform(FileIteratorTask.java:151) ... 18 more Caused by: java.lang.RuntimeException: Error invoking the specified method: publishChannel at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:200) at org.danann.cernunnos.runtime.RuntimeTaskDecorator.perform(RuntimeTaskDecorator.java:58) at org.danann.cernunnos.runtime.ScriptRunner$TaskDecorator.perform(ScriptRunner.java:310) at org.danann.cernunnos.runtime.ScriptRunner.run(ScriptRunner.java:264) at org.danann.cernunnos.flow.CernunnosTask.perform(CernunnosTask.java:87) ... 27 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.danann.cernunnos.core.InvokeMethodTask.perform(InvokeMethodTask.java:192) ... 31 more Caused by: java.lang.RuntimeException: Error publishing the channel definition. at org.jasig.portal.tools.chanpub.UrlChannelPublisher.publishChannel(UrlChannelPublisher.java:34) ... 36 more Caused by: java.lang.NullPointerException at org.jasig.portal.services.AuthorizationService.<init>(AuthorizationService.java:76) at org.jasig.portal.services.AuthorizationService.instance(AuthorizationService.java:96) at org.jasig.portal.tools.chanpub.ChannelPublisher.publishChannel(ChannelPublisher.java:247) at org.jasig.portal.tools.chanpub.ChannelPublisher.publishChannel(ChannelPublisher.java:221) at org.jasig.portal.tools.chanpub.UrlChannelPublisher.publishChannel(UrlChannelPublisher.java:30) ... 36 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.