java.lang.reflect.InvocationTargetException

Atlassian JIRA | Mark Donoghue | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting the following in Terminal when attempting to run ./bin/run.sh from $FISHEYE_HOME directory. ---- WARN: your default encoding (MacRoman) does not support unicode. This is likely to cause problems if any of the filenames, branch names or tag names in one of your repositories contain unicode characters. Update your locale settings or start with the -Dfile.encoding=UTF-8 option to avoid these problems. 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:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) 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.<init>(SubstitutingDOMConfigurator.java:11) at com.cenqua.fisheye.ctl.BaseCommand.setupLogging(BaseCommand.java:153) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:80) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) ... 6 more ---- I can deal with the UTF-8 issue but cannot determins what could be causing the IllegalAccessError. I am running Jira w/o problems on the same laptop.

    Atlassian JIRA | 6 years ago | Mark Donoghue
    java.lang.reflect.InvocationTargetException
  2. 0

    Getting the following in Terminal when attempting to run ./bin/run.sh from $FISHEYE_HOME directory. ---- WARN: your default encoding (MacRoman) does not support unicode. This is likely to cause problems if any of the filenames, branch names or tag names in one of your repositories contain unicode characters. Update your locale settings or start with the -Dfile.encoding=UTF-8 option to avoid these problems. 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:114) at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42) 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.<init>(SubstitutingDOMConfigurator.java:11) at com.cenqua.fisheye.ctl.BaseCommand.setupLogging(BaseCommand.java:153) at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:80) at com.cenqua.fisheye.ctl.Run.main(Run.java:71) ... 6 more ---- I can deal with the UTF-8 issue but cannot determins what could be causing the IllegalAccessError. I am running Jira w/o problems on the same laptop.

    Atlassian JIRA | 6 years ago | Mark Donoghue
    java.lang.reflect.InvocationTargetException

    Root Cause Analysis

    1. 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.<init>()
    2. Apache Log4j
      SubstitutingDOMConfigurator.<init>
      1. org.apache.log4j.xml.SubstitutingDOMConfigurator.<init>(SubstitutingDOMConfigurator.java:11)
      1 frame
    3. com.cenqua.fisheye
      Run.main
      1. com.cenqua.fisheye.ctl.BaseCommand.setupLogging(BaseCommand.java:153)
      2. com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:80)
      3. com.cenqua.fisheye.ctl.Run.main(Run.java:71)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. com.cenqua.fisheye
      FishEyeCtl.main
      1. com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:114)
      2. com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)
      2 frames