Details
-
Bug
-
Resolution: Answered
-
Low
-
None
-
5.10.0
Description
Since I'm sitting on an EAP for Confluence Server (5.10.0-m03) this might already been solved internally, but I haven't found any info on it so here it goes:
Going to http://localhost:1990/confluence/users/profile/editmyprofilepicture.action will cause the following stack due to calls to deprecated methods (com.atlassian.confluence.user.actions.ProfilePictureInfo#getDownloadPath)
Cause:
java.lang.IllegalArgumentException: (This exception is only thrown when dev.mode is enabled) Velocity template accessing deprecated method com.atlassian.confluence.user.actions.ProfilePictureInfo#getDownloadPath - /templates/velocity/editmyprofilepicture.vm[line 26, column 77] at com.atlassian.confluence.velocity.introspection.AnnotationBoxingUberspect.logOrThrowDeprecationWarningsIfNecessary(AnnotationBoxingUberspect.java:187)
Stack
java.lang.IllegalArgumentException: (This exception is only thrown when dev.mode is enabled) Velocity template accessing deprecated method com.atlassian.confluence.user.actions.ProfilePictureInfo#getDownloadPath - /templates/velocity/editmyprofilepicture.vm[line 26, column 77] at com.atlassian.confluence.velocity.introspection.AnnotationBoxingUberspect.logOrThrowDeprecationWarningsIfNecessary(AnnotationBoxingUberspect.java:187) at com.atlassian.confluence.velocity.introspection.AnnotationBoxingUberspect.lookupMethod(AnnotationBoxingUberspect.java:169) at com.atlassian.confluence.velocity.introspection.AnnotationBoxingUberspect.getMethod(AnnotationBoxingUberspect.java:92)
I realise this is only happening for dev instances but it's still causing damage as we cannot access the profile settings page properly.
Best regards,
Dennis [RefinedWiki]