Which plugins supplies this code? Does anyone from Atlassian recognise it?
Side note: The purpose a stack trace serves is it lets people see how you got to the point where something blew up. That Atlassian distribute their source has helped to make the marketplace a success. Increasingly though key sources are missing, such as this.
com.atlassian.jira.plugins.issue.create.context.jql.OperandSimplifier$Scoped.visit(OperandSimplifier.scala:25) at com.atlassian.jira.plugins.issue.create.context.jql.OperandSimplifier$Scoped.visit(OperandSimplifier.scala:19) at com.atlassian.query.operand.FunctionOperand.accept(FunctionOperand.java:78) at com.atlassian.jira.plugins.issue.create.context.jql.ParamsFetcher.visit(ParamsFetcher.scala:36) at com.atlassian.jira.plugins.issue.create.context.jql.ParamsFetcher.visit(ParamsFetcher.scala:12) at com.atlassian.query.clause.TerminalClauseImpl.accept(TerminalClauseImpl.java:162) at com.atlassian.jira.plugins.issue.create.context.jql.ParamsFetcher$$anonfun$flattenClauses$1.apply(ParamsFetcher.scala:25) at com.atlassian.jira.plugins.issue.create.context.jql.ParamsFetcher$$anonfun$flattenClauses$1.apply(ParamsFetcher.scala:25) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.Iterator$class.foreach(Iterator.scala:727) at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) at scala.collection.AbstractTraversable.map(Traversable.scala:105) at com.atlassian.jira.plugins.issue.create.context.jql.ParamsFetcher.flattenClauses(ParamsFetcher.scala:25) at com.atlassian.jira.plugins.issue.create.context.jql.ParamsFetcher.visit(ParamsFetcher.scala:21) at com.atlassian.jira.plugins.issue.create.context.jql.ParamsFetcher.visit(ParamsFetcher.scala:12) at com.atlassian.query.clause.OrClause.accept(OrClause.java:34) at com.atlassian.jira.plugins.issue.create.context.jql.ParamsFetcher$$anonfun$flattenClauses$1.apply(ParamsFetcher.scala:25)
Community moderators have prevented the ability to post new answers.
Hi @Jamie Echlin [Adaptavist],
Took me a little while to get to the bottom of this - you've found a bug! com.atlassian.jira.plugins.issue.create.context.jql.OperandSimplifier lives in the jira-inline-issue-create-plugin, which does get included in the JIRA source distribution (in the JIRA 6.4.3 source distribution, it's dependencySources/jira-inline-issue-create-plugin-0.3.3-sources.jar
). However, if you extract this jar file, there's no source code inside!
Turns out this is a bug in this plugin's configuration of the scala-maven-plugin which forgets to add the Scala source files to the source jar generation. I've logged this bug here: https://jira.atlassian.com/browse/JRA-43211
Thanks for the detective work Joe, appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No problem! Which version are you looking at? I can email you the (fixed) source jar to get you going in the meantime?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Joe, dropped you a mail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.