Can't startup Crucible evaluation on Mac

I'm trying to evaluate Crucible but can't get it to start on my Mac. I get the following stack trace when running run.sh:

ERROR: problem running command

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:98)

at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:41)

Caused by: java.lang.IllegalAccessError: tried to access field org.apache.log4j.xml.DOMConfigurator.props from class org.apache.log4j.xml.SubstitutingDOMConfigurator

at org.apache.log4j.xml.SubstitutingDOMConfigurator.(SubstitutingDOMConfigurator.java:11)

at com.cenqua.fisheye.ctl.BaseCommand.setupLogging(BaseCommand.java:153)

at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:86)

at com.cenqua.fisheye.ctl.Run.main(Run.java:77)

... 6 more

I found a similar problem but there wasn't a real resolution to it: https://jira.atlassian.com/browse/FE-2984

2 answers

1 accepted

This widget could not be displayed.
Tom Davies Atlassian Team Nov 07, 2011

This problem was caused by a log4j.jar in the JRE's extensions directory. The version of log4j in that jar was different to the version required by FishEye/Crucible.

It is bad policy to place jars in the JRE's extensions directory -- you can never guarantee that all your applications will want the same version.

Specifically, on the Mac, the conflicting JARs were in /Library/Java/Extensions - I have a feeling it's MacPorts that put them there.

This widget could not be displayed.

The bug you referenced suggest that the problem was caused by another instance of the log4j jar. Do you have a similar problem?

How are you starting Crucible? Do you have a classpath set?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in Teamwork

What teamwork quotes inspire you?

Hey everyone! My name is Natalie and I'm an editor of the Atlassian Blog and I've got a question for you: What's your favorite quote about teamwork?  We've compiled a list here, along with...

176 views 18 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you