java.lang.reflect.InvocationTargetException

Atlassian JIRA | Mark Donoghue | 6 years ago
  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
  3. 0

    Problem with afterburner module with new field added serialVersionUID

    GitHub | 3 months ago | shankyty
    java.lang.IllegalAccessError: tried to access field class com.foobar.commons.impl.MyClass.serialVersionUID from class com.foobar.commons.impl.MyClass$Access4JacksonDeserializerfb8b0dbb
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting iIllegalAccessError when used kamon to collect metrics of a cassandra cluster

    GitHub | 2 months ago | parekuti
    java.lang.IllegalAccessError: tried to access field org.HdrHistogram.AtomicHistogram.counts from class org.HdrHistogram.ModifiedAtomicHistogram

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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