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

            Owen made changes -
            Workflow Original: FE-CRUC Bug Workflow [ 2944623 ] New: JAC Bug Workflow v3 [ 2958732 ]
            Owen made changes -
            Workflow Original: FECRU Development Workflow - Triage - Restricted [ 1516464 ] New: FE-CRUC Bug Workflow [ 2944623 ]
            Owen made changes -
            Workflow Original: FECRU Development Workflow - Triage [ 943791 ] New: FECRU Development Workflow - Triage - Restricted [ 1516464 ]
            Piotr Swiecicki made changes -
            Workflow Original: FECRU Development Workflow (Triage) [ 311009 ] New: FECRU Development Workflow - Triage [ 943791 ]
            Seb Ruiz (Inactive) made changes -
            Workflow Original: Simple review flow with triage [ 212523 ] New: FECRU Development Workflow (Triage) [ 311009 ]
            mwatson made changes -
            Resolution New: Not a bug [ 12 ]
            Status Original: Needs Triage [ 10030 ] New: Closed [ 6 ]

            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.
            BrendanA made changes -
            Summary Original: JAVA 1.6.0_20 doesn't compatible with latest Fisheye/Crucible New: JAVA 1.6.0_20 isn't compatible with latest Fisheye/Crucible
            Dylan Hansen [Atlassian] made changes -
            Comment [ A comment with security level 'atlassian-staff' was removed. ]

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

                Created:
                Updated:
                Resolved: