diff --git a/java/com.sap.sailing.server.trackfiles/src/com/sap/sailing/server/trackfiles/impl/BaseRouteConverterGPSFixImporterImpl.java b/java/com.sap.sailing.server.trackfiles/src/com/sap/sailing/server/trackfiles/impl/BaseRouteConverterGPSFixImporterImpl.java index ead2e9564dd..840d0de7740 100644 --- a/java/com.sap.sailing.server.trackfiles/src/com/sap/sailing/server/trackfiles/impl/BaseRouteConverterGPSFixImporterImpl.java +++ b/java/com.sap.sailing.server.trackfiles/src/com/sap/sailing/server/trackfiles/impl/BaseRouteConverterGPSFixImporterImpl.java @@ -63,8 +63,8 @@ public abstract class BaseRouteConverterGPSFixImporterImpl extends BaseGPSFixImp Method m = NavigationFormatParser.class.getDeclaredMethod("read", InputStream.class, Integer.TYPE, CompactCalendar.class, List.class); m.setAccessible(true); - ParserResult result = (ParserResult) m.invoke(parser, inputStream, /* read buffer size; 1MB should be - sufficient to tell whether the format is understood or not */ 10 * 1024 * 1024, null, supportedReadFormats); + ParserResult result = parser.read(inputStream, /* read buffer size; 1GB max size as + RouteConverter currently buffers all streams, also the successful ones... */ 1024 * 1024 * 1024, null, supportedReadFormats); if (result == null) { throw new FormatNotSupportedException(); } diff --git a/java/com.sap.sailing.targetplatform.base/features/target-base/feature.xml b/java/com.sap.sailing.targetplatform.base/features/target-base/feature.xml index ef61e68e4b2..30af8b8bf00 100755 --- a/java/com.sap.sailing.targetplatform.base/features/target-base/feature.xml +++ b/java/com.sap.sailing.targetplatform.base/features/target-base/feature.xml @@ -79,7 +79,7 @@ id="routeconverter" download-size="0" install-size="0" - version="2.12.1.201406032218" + version="2.12.2.201406032322" unpack="false"/>