Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apereo Issues by Chris Wagner, 1 year ago
Error invoking the specified method: getApplicationContext
via Apereo Issues by Chris Wagner, 2 years ago
Error invoking the specified method: getApplicationContext
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 moreCaused 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 moreCaused 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 moreCaused 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 moreCaused 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 moreCaused 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 moreCaused by: java.lang.RuntimeException: Error publishing the channel definition. at org.jasig.portal.tools.chanpub.UrlChannelPublisher.publishChannel(UrlChannelPublisher.java:34) ... 36 moreCaused 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