Details
-
Bug
-
Resolution: Fixed
-
Low
-
3.13
-
Standalone, JDK 1.6, Windows
-
3.13
-
Description
Editing an existing "Permission Condition" condition results in a NPE. This appears to occure regardless of the permission selected.
2008-09-22 14:42:10,062 http-8080-Processor25 ERROR [velocity] Method getText threw exception for reference $i18n in template templates/jira/workflow/com/atlassian/jira/plugin/permission-condition-edit-params.vm at [7,14] 2008-09-22 14:42:10,062 http-8080-Processor25 ERROR [com.atlassian.velocity.DefaultVelocityManager] MethodInvocationException occurred getting message body from Velocity: java.lang.NullPointerException java.lang.NullPointerException at com.atlassian.jira.web.bean.I18nBean._getUnescapedText(I18nBean.java:245) at com.atlassian.jira.web.bean.I18nBean.getText(I18nBean.java:199) at com.atlassian.jira.web.bean.I18nBean.getText(I18nBean.java:124) at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:172) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:77) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:61) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:56) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:97) at com.atlassian.jira.plugin.workflow.WorkflowConditionModuleDescriptor.getHtml(WorkflowConditionModuleDescriptor.java:29) at com.atlassian.jira.web.action.admin.workflow.AbstractEditWorkflowTransitionDescriptorParams.getDescriptorHtml(AbstractEditWorkflowTransitionDescriptorParams.java:204) ...
Steps to Reproduce:
- Copy the "jira" read only system workflow.
- Select "Steps"
- Select the "Start Progress" transition
- Select the "Conditions" tab
- Select "Add"
- Select "Permission Condition"
- Select "Administer Projects"
- Select "Edit" on the added condition.
Attachments
Issue Links
- is duplicated by
-
JRASERVER-15604 NPE when editing an existing Permission condition
- Closed