Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Which plugins supplies this code?

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2015

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)

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2015

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


JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2015

Thanks for the detective work Joe, appreciated.

Joe Clark
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2015

No problem! Which version are you looking at? I can email you the (fixed) source jar to get you going in the meantime?

JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2015

Thanks Joe, dropped you a mail.

TAGS
AUG Leaders

Atlassian Community Events