JIRA 6.4 中的 avatservice returns 空指针异常
avatservice returns nullpointer exception in JIRA 6.4
对于我们的项目选项卡面板插件,我们使用 AvatarService
来显示问题的指定用户的头像。在 6.3.9 之前它工作正常,但现在升级到 6.4.1 后它似乎中断并抛出空指针异常。
我正在从 TabPanel
class 的构造函数中获取 AvatarService
并将其传递给参数中的速度。
但是当加载选项卡面板时,我在页面的源代码中收到此错误:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getAvatarUrlNoPermCheck' in class com.atlassian.jira.avatar.AvatarServiceImpl threw exception java.lang.NullPointerException at shared/Panel.vm.
有什么问题吗?请帮助
Take a look 可能是同一个根本原因:
The Base URL has been improperly specified.
Confirm that the Base URL in Configuring JIRA Options is the exact
same URL that you use to access the JIRA instance.
对于我们的项目选项卡面板插件,我们使用 AvatarService
来显示问题的指定用户的头像。在 6.3.9 之前它工作正常,但现在升级到 6.4.1 后它似乎中断并抛出空指针异常。
我正在从 TabPanel
class 的构造函数中获取 AvatarService
并将其传递给参数中的速度。
但是当加载选项卡面板时,我在页面的源代码中收到此错误:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getAvatarUrlNoPermCheck' in class com.atlassian.jira.avatar.AvatarServiceImpl threw exception java.lang.NullPointerException at shared/Panel.vm.
有什么问题吗?请帮助
Take a look 可能是同一个根本原因:
The Base URL has been improperly specified.
Confirm that the Base URL in Configuring JIRA Options is the exact same URL that you use to access the JIRA instance.