Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-2662

JAVA 1.6.0_20 isn't compatible with latest Fisheye/Crucible

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Low Low
    • None
    • 2.3.3
    • None
    • None
    • 64bit Ubuntu-server 9.10 (karmic)
      Sun Microsystems Inc.|16.3-b01|/usr/lib/jvm/ia32-java-6-sun-1.6.0.20/jre|Linux|i386|2.6.31-14-server

      Refer to FSH-3963

      Error during startup:

      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:106)
      	at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:39)
      Caused by: java.lang.ExceptionInInitializerError
      	at com.cenqua.fisheye.web.WatchManager.<init>(WatchManager.java:509)
      	at com.cenqua.fisheye.config.RootConfig.startDB(RootConfig.java:1166)
      	at com.cenqua.fisheye.config.RootConfig.start(RootConfig.java:371)
      	at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:139)
      	at com.cenqua.fisheye.ctl.Run.main(Run.java:69)
      	... 6 more
      Caused by: java.lang.NullPointerException
      	at sun.util.calendar.ZoneInfoFile.getZoneIDs(ZoneInfoFile.java:729)
      	at sun.util.calendar.ZoneInfo.getAvailableIDs(ZoneInfo.java:517)
      	at java.util.TimeZone.getAvailableIDs(TimeZone.java:497)
      	at com.cenqua.fisheye.util.DateHelper.<clinit>(DateHelper.java:66)
      	... 11 more
      

      Using JAVA 1.6.0_15 without issue.

            [FE-2662] JAVA 1.6.0_20 isn't compatible with latest Fisheye/Crucible

            If you are affected by this issue you can replicate it without FishEye by compiling and running the following:

            import java.util.TimeZone;
            
            public class TZTest {
                public static void main(String args[]) {
                    String[] availableIds = TimeZone.getAvailableIDs();
                    System.out.println("Length: "+availableIds.length);
                    for (int i = 0; i < availableIds.length; i++) {
                        System.out.println("ID #"+i+": "+availableIds[i]);
                    }
                }
            }

            Andrew Myers [Atlassian] added a comment - If you are affected by this issue you can replicate it without FishEye by compiling and running the following: import java.util.TimeZone; public class TZTest { public static void main(String args[]) { String[] availableIds = TimeZone.getAvailableIDs(); System.out.println("Length: "+availableIds.length); for (int i = 0; i < availableIds.length; i++) { System.out.println("ID #"+i+": "+availableIds[i]); } } }

            This is not a bug in FishEye, its a problem with the packaging of the Java installation.

            There is a related issue when using the tzupdater tool that could mean it doesn't set appropriate permissions on the file.

            The NPE is reproducible when JAVA_HOME/jre/lib/zi/ZoneInfoMappings does not exist or is not readable. There may be other causes.

            Andrew Myers [Atlassian] added a comment - - edited This is not a bug in FishEye, its a problem with the packaging of the Java installation. There is a related issue when using the tzupdater tool that could mean it doesn't set appropriate permissions on the file. http://bugs.sun.com/view_bug.do?bug_id=6529213 The NPE is reproducible when JAVA_HOME/jre/lib/zi/ZoneInfoMappings does not exist or is not readable. There may be other causes.

            I think this is actually related to subversion-javahl. Fisheye runs fine for me on Java 1.6.0_20 but when I configure the external svn jar and library, it blows up.

            Linux host.domain.com 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64 x86_64 x86_64 GNU/Linux
            java full version "1.6.0_20-b02"
            FishEye/Crucible 2.3.3 (build-493), Built on 2010-06-18
            subversion-javahl.x86_64 0:1.4.2-4.el5_3.1

            Dave Theodore [Coyote Creek Consulting] added a comment - I think this is actually related to subversion-javahl. Fisheye runs fine for me on Java 1.6.0_20 but when I configure the external svn jar and library, it blows up. Linux host.domain.com 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64 x86_64 x86_64 GNU/Linux java full version "1.6.0_20-b02" FishEye/Crucible 2.3.3 (build-493), Built on 2010-06-18 subversion-javahl.x86_64 0:1.4.2-4.el5_3.1

              Unassigned Unassigned
              mgchong Ming Giet Chong [Atlassian]
              Affected customers:
              2 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: