Custom Query (454 matches)
Results (25 - 27 of 454)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#475 | fixed | Compilation issue with Java 8 | ||
Description |
The following line of code in LogicTreePBSWriter.java:673 does not compile on Java 8: for (ZipEntry entry : Lists.newArrayList(Iterators.forEnumeration(zip.entries()))) { Here is the error: Test.java:12: error: incompatible types: UnmodifiableIterator<CAP#1> cannot be converted to ZipEntry for (ZipEntry entry : Lists.newArrayList(Iterators.forEnumeration(zip.entries()))) { ^ where CAP#1 is a fresh type-variable: CAP#1 extends ZipEntry from capture of ? extends ZipEntry This compiles fine on Java 7, and once compiled runs correctly on Java 8. Here is a small test code snippet that can be compiled outside of opensha to demonstrate (just put guava in your classpath when compiling): import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import java.io.File; import com.google.common.collect.Iterators; import com.google.common.collect.Lists; public class Test { public static void main(String[] args) throws Exception { ZipFile zip = new ZipFile(new File("/tmp/minisect_dm_files.zip")); for (ZipEntry entry : Lists.newArrayList(Iterators.forEnumeration(zip.entries()))) { System.out.println(entry); } } } |
|||
#474 | invalid | Bug in HazardCurveServer | ||
Description |
Steps to reproduce: (PLEASE FILL IN) Other info: (PLEASE FILL IN) Application: HazardCurveServer? Version: 1.2.3 Bulid Type: Production Java Version: 1.7.0_65 (Oracle Corporation) Operating System: Windows 7 (arch: x86, version: 6.1) Exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.opensha.sha.earthquake.ERF_Ref.instance(ERF_Ref.java:318) at org.opensha.sha.gui.beans.ERF_GuiBean.getERFInstance(ERF_GuiBean.java:153) at org.opensha.sha.gui.beans.ERF_GuiBean.init_erf_IndParamListAndEditor(ERF_GuiBean.java:177) at org.opensha.sha.gui.beans.ERF_GuiBean.<init>(ERF_GuiBean.java:146) at org.opensha.sha.gui.beans.ERF_GuiBean.<init>(ERF_GuiBean.java:128) at org.opensha.sha.gui.HazardCurveServerModeApplication.initERF_GuiBean(HazardCurveServerModeApplication.java:1853) at org.opensha.sha.gui.HazardCurveServerModeApplication.init(HazardCurveServerModeApplication.java:378) at org.opensha.sha.gui.HazardCurveServerModeApplication.main(HazardCurveServerModeApplication.java:775) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.refle |
|||
#472 | wontfix | Bug in HazardCurveLocal | ||
Description |
Steps to reproduce: (PLEASE FILL IN) Other info: (PLEASE FILL IN) Application: HazardCurveLocal? Version: 1.3.1 Bulid Type: Development Java Version: 1.7.0_60 (Oracle Corporation) Operating System: Windows 8.1 (arch: x86, version: 6.3) Exception: java.lang.OutOfMemoryError: Java heap space at java.lang.StringCoding$StringDecoder.<init>(Unknown Source) at java.lang.StringCoding.decode(Unknown Source) at java.lang.String.<init>(Unknown Source) at java.util.jar.Manifest.parseName(Unknown Source) at java.util.jar.Manifest.read(Unknown Source) at java.util.jar.Manifest.<init>(Unknown Source) at java.util.jar.JarFile.getManifestFromReference(Unknown Source) at java.util.jar.JarFile.getManifest(Unknown Source) at sun.misc.URLClassPath$JarLoader$2.getManifest(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.dom4j.tree.AbstractBranch.createResultList(AbstractBranch.java:373) at org.dom4j.tree.AbstractElement.elements(AbstractElement.java:352) at scratch.UCERF3.utils.FaultSystemIO.fsDataFromXML(FaultSystemIO.java:421) at scratch.UCERF3.utils.FaultSystemIO.loadRupSetAsApplicable(FaultSystemIO.java: |