Closed demon101 closed 6 years ago
java.lang.NullPointerException: null at grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition.findActionRoles(AnnotationFilterInvocationDefinition.groovy:458) at grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition.findAnnotations(AnnotationFilterInvocationDefinition.groovy:425) at grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition.findAnnotations(AnnotationFilterInvocationDefinition.groovy) at grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition.findControllerAnnotations(AnnotationFilterInvocationDefinition.groovy:382) at grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition.initialize(AnnotationFilterInvocationDefinition.groovy:223) at grails.plugin.springsecurity.web.access.intercept.AnnotationFilterInvocationDefinition$initialize.call(Unknown Source)
@saw303 Funny, same results. Application context corrupted =) Will check on Monday
org.mnode.ical4j:ical4j:1.0.7 | +--- commons-logging:commons-logging:1.1.3 -> 1.2 | +--- commons-codec:commons-codec:1.8 -> 1.9 | +--- commons-lang:commons-lang:2.6 | --- backport-util-concurrent:backport-util-concurrent:3.1
@saw303 In new versions (0.6.1 & 0.6.2) jars /grails/plugins/ic/alendar/ApplicationLoader.class presented. It looks like a reason for failing of spring context
content:
package grails.plugins.ic.alendar;
import grails.plugins.ic.alendar.Application;
import org.codehaus.groovy.runtime.ScriptBytecodeAdapter;
import org.codehaus.groovy.runtime.callsite.CallSite;
import org.grails.boot.context.web.GrailsAppServletInitializer;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.web.WebApplicationInitializer;
public class ApplicationLoader extends GrailsAppServletInitializer implements WebApplicationInitializer {
public ApplicationLoader() {
CallSite[] var1 = $getCallSiteArray();
}
protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
CallSite[] var2 = $getCallSiteArray();
return (SpringApplicationBuilder)ScriptBytecodeAdapter.castToType(var2[0].call(application, Application.class), SpringApplicationBuilder.class);
}
}
How you build and publish plugin?
use gradlew clean build publishToMavenLocal
@saw303 Have you changed gradle version?
I can't find ApplicationLoader class at any plugins. Looks like a reason for app fail
Hi @saw303, have a look at comment https://github.com/grails/grails-core/issues/10569#issuecomment-315376018
Problem with the new version of your plugin caused by ApplicationLoader class. I don't know, why it presented in the plugin, but it produces problems.
Is there any reason this was closed? I'm having the same issue and I have had to go back to 0.6.0
It has been closed since plugin version 0.6.2 does not use iCal4J version 2.x. See https://bintray.com/saw303/plugins/download_file?file_path=org%2Fgrails%2Fplugins%2FiCalendar%2F0.6.2%2FiCalendar-0.6.2.pom
It still has problem with application.groovy plugin loading order. I think, plugin built with grails 3.3 and fails for grails 3.2. I hope on grails 3.3 app it works
чт, 19 апр. 2018 г., 15:06 Silvio Wangler notifications@github.com:
It has been closed since plugin version 0.6.2 does not use iCal4J version 2.x. See https://bintray.com/saw303/plugins/download_file?file_path=org%2Fgrails%2Fplugins%2FiCalendar%2F0.6.2%2FiCalendar-0.6.2.pom
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/saw303/grails-ic-alender/issues/21#issuecomment-382727421, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTL6HgpxTo588W0HKJafPAcK5xHDhlMks5tqIvkgaJpZM4MLJzY .
So, is there any solution?
Currently no. Any contributions are welcome
Ok, to be honest I have no idea on how to fix it and it would take me a lot of time to understand everything, so for the moment I'll keep 0.6.0. If I need to update I will try to fix it.
The app stops failing after removing application.groovy from plugin The bug was fixed in the issue: https://github.com/grails/grails-core/issues/10569#issuecomment-315376018
But the version 3.2.12 not released
Please try version 0.6.3
works for me! Thx!
@demon101 I'm glad it works. Thank you for your input and patience.
@Guito you might wanna give 0.6.3 a try?
@saw303 I confirm it works! Thank you very much for your effort.
New version (0.6.1) dependancies
10Mb of new dependencies =)
Previous (0.6.0)
Grails 3.1.15 The problem reproducible only on tomcat
Now I'm trying to exclude dependencies, without success.
Is it possible rollback dependencies ?