build-pipeline: javax.annotation.processing.FilerException: Attempt to reopen a file for path BuildPipelineView.stapler

450 views
Skip to first unread message

nicolas de loof

unread,
May 3, 2013, 8:10:43 AM5/3/13
to jenkin...@googlegroups.com
I can't run mvn hpi:run or other build commands on build-pipeline-plugin.
the error routed me to https://issues.jenkins-ci.org/browse/JENKINS-11739, but didn't helped
any thought ?

Mads Nielsen

unread,
May 3, 2013, 9:44:02 AM5/3/13
to jenkin...@googlegroups.com
I think it is caused by a duplicate DataBound constructor somewhere in the plugin, a colleague of mine had the exact same issue when he was building it. He removed the oldest of the databound constructors and it worked.

Can't remember sepecifics :)

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--

Mads Nielsen
Consultant
Praqma A/S

Tel: +45 50 98 18 09
Mail: m...@praqma.net
web: www.praqma.net

nicolas de loof

unread,
May 3, 2013, 10:08:15 AM5/3/13
to jenkin...@googlegroups.com
This duplicated DataBoundConstructor was introduced a year ago -> https://github.com/jenkinsci/build-pipeline-plugin/commit/6c153646fd89387b7c199342a04b3b013d01ca00, so I don't think it's the root cause for this error - even I didn't know you can have multiple DataBoundConstructors ...

So I guess this plugin requires some extra configuration / special environment to build.




2013/5/3 Mads Nielsen <m...@praqma.net>

Jesse Glick

unread,
May 3, 2013, 12:59:08 PM5/3/13
to jenkin...@googlegroups.com
On 05/03/2013 10:08 AM, nicolas de loof wrote:
> I didn't know you can have multiple DataBoundConstructors

Because you cannot, so the build is correctly failing. Not sure how this change could ever have been built; perhaps by a nonstandard environment like Eclipse?

Commenting out the first and I guess obsolete @DataBoundConstructor makes the build pass. (You can leave the constructor itself—just remove the annotation.)

Marco Miller

unread,
May 7, 2013, 12:23:43 PM5/7/13
to jenkin...@googlegroups.com
Hi!
I happened to fix that problem -alongside another contrib;
please refer to this for some more details (and feel free to ask if anything):
Reply all
Reply to author
Forward
0 new messages