|
java.io.EOFException |
Marston
|
Post subject: java.io.EOFException |
Post rating: 0
|
Posted: Mon 10 Nov, 2014, 09:48
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
I'm working with my Desktop application and today I'm having in NetBeans this exception after your important upgrade. What is it this? java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:267) at java.io.DataInputStream.readByte(DataInputStream.java:267) at com.dukascopy.transport.common.msg.request.CurrencyMarket.parseData(CurrencyMarket.java:419) at com.dukascopy.transport.common.msg.request.CurrencyMarket.<init>(CurrencyMarket.java:318) at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:834) at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:778) at com.dukascopy.transport.common.protocol.json.JSonProtocolDecoder.decode(JSonProtocolDecoder.java:81) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.support.SSLHandler.flushScheduledEvents(SSLHandler.java:275) at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:427) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744)
And... java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:267) at com.dukascopy.transport.common.msg.request.CurrencyMarket.parseData(CurrencyMarket.java:419) at com.dukascopy.transport.common.msg.request.CurrencyMarket.<init>(CurrencyMarket.java:318) at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:834) at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:778) at com.dukascopy.transport.common.protocol.json.JSonProtocolDecoder.decode(JSonProtocolDecoder.java:81) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.support.SSLHandler.flushScheduledEvents(SSLHandler.java:275) at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:427) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744)
|
|
|
|
 |
GeniuZ
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Mon 10 Nov, 2014, 14:15
|
|
User rating: 2
Joined: Mon 30 May, 2011, 15:41 Posts: 86 Location: Czech Republic, Prague
|
Same problems: java.lang.NumberFormatException java.io.EOFException Probably (based on Friday message), quotes was changed on server and platform, but not in API SDK. 10.11'14 13:02:08 Creating login dialog 10.11'14 13:02:08 Connecting as DEMO3MHaVh 10.11'14 13:02:11 Connected 10.11'14 13:02:13 java.lang.NumberFormatException 10.11'14 13:02:13 at java.math.BigDecimal.<init>(Unknown Source) 10.11'14 13:02:13 at com.dukascopy.transport.common.msg.request.CurrencyMarket.parseData(CurrencyMarket.java:445) 10.11'14 13:02:13 at com.dukascopy.transport.common.msg.request.CurrencyMarket.<init>(CurrencyMarket.java:332) 10.11'14 13:02:13 at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:767) 10.11'14 13:02:13 at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:711) 10.11'14 13:02:13 at com.dukascopy.transport.common.protocol.json.JSonProtocolDecoder.decode(JSonProtocolDecoder.java:81) 10.11'14 13:02:13 at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158) 10.11'14 13:02:13 at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) 10.11'14 13:02:13 at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) 10.11'14 13:02:13 at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) 10.11'14 13:02:13 at org.apache.mina.filter.support.SSLHandler.flushScheduledEvents(SSLHandler.java:275) 10.11'14 13:02:13 at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:427) 10.11'14 13:02:13 at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) 10.11'14 13:02:13 at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) 10.11'14 13:02:13 at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) 10.11'14 13:02:13 at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220) 10.11'14 13:02:13 at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) 10.11'14 13:02:13 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 10.11'14 13:02:13 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 10.11'14 13:02:13 at java.lang.Thread.run(Unknown Source) 10.11'14 13:02:13 java.lang.NumberFormatException 10.11'14 13:02:13 at java.math.BigDecimal.<init>(Unknown Source) 10.11'14 13:02:13 at com.dukascopy.transport.common.msg.request.CurrencyMarket.parseData(CurrencyMarket.java:422) 10.11'14 13:02:13 at com.dukascopy.transport.common.msg.request.CurrencyMarket.<init>(CurrencyMarket.java:332) 10.11'14 13:02:13 at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:767) 10.11'14 13:02:13 at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:711) 10.11'14 13:02:13 at com.dukascopy.transport.common.protocol.json.JSonProtocolDecoder.decode(JSonProtocolDecoder.java:81) 10.11'14 13:02:13 at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158) 10.11'14 13:02:13 at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) 10.11'14 13:02:13 at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) 10.11'14 13:02:13 at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) 10.11'14 13:02:13 at org.apache.mina.filter.support.SSLHandler.flushScheduledEvents(SSLHandler.java:275) 10.11'14 13:02:14 at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:427) 10.11'14 13:02:14 at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) 10.11'14 13:02:14 at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) 10.11'14 13:02:14 at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) 10.11'14 13:02:14 at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220) 10.11'14 13:02:14 at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) 10.11'14 13:02:14 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 10.11'14 13:02:14 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 10.11'14 13:02:14 at java.lang.Thread.run(Unknown Source) 10.11'14 13:02:14 java.io.EOFException 10.11'14 13:02:14 at java.io.DataInputStream.readByte(Unknown Source) 10.11'14 13:02:14 at com.dukascopy.transport.common.msg.request.CurrencyMarket.parseData(CurrencyMarket.java:433) 10.11'14 13:02:14 at com.dukascopy.transport.common.msg.request.CurrencyMarket.<init>(CurrencyMarket.java:332) 10.11'14 13:02:14 at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:767) 10.11'14 13:02:14 at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:711) 10.11'14 13:02:14 at com.dukascopy.transport.common.protocol.json.JSonProtocolDecoder.decode(JSonProtocolDecoder.java:81) 10.11'14 13:02:14 at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158) 10.11'14 13:02:14 at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) 10.11'14 13:02:14 at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) 10.11'14 13:02:14 at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) 10.11'14 13:02:14 at org.apache.mina.filter.support.SSLHandler.flushScheduledEvents(SSLHandler.java:275) 10.11'14 13:02:14 at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:427) 10.11'14 13:02:14 at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) 10.11'14 13:02:14 Stopping "JForexRobotStrategy" strategy at 2014-11-10 13:02:14.398 GMT on the local computer 10.11'14 13:02:15 at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) 10.11'14 13:02:15 at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) 10.11'14 13:02:15 at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220) 10.11'14 13:02:15 at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) 10.11'14 13:02:15 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 10.11'14 13:02:15 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 10.11'14 13:02:15 at java.lang.Thread.run(Unknown Source) 10.11'14 13:02:15 STOP JForexRobotStrategy (-1) 10.11'14 13:02:15 STOP JFOREXROBOT © www.JForexRobot.cz (0)
|
|
|
|
 |
Platform Support
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Mon 10 Nov, 2014, 16:08
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
New version will be released today. This should fix the problem.
|
|
|
|
 |
Marston
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Mon 10 Nov, 2014, 16:47
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
I hope that this new version works fine with DDS2-jClient-JForex 2.36 because with DDS2-jClient-JForex 2.39 I can not connect! Stack trace DDS2-jClient-JForex 2.39: 2014-11-10 16:34:47.881 WARN WLabelData - White Label Image is not received 2014-11-10 16:34:47.936 DEBUG CurvesJsonProtocolHandler - DFHistoryStartResponseMessage response received from Data Feed Server 2014-11-10 16:34:48.758 INFO DCClientImpl - Connected 2014-11-10 16:34:48.795 DEBUG JSonProtocolDecoder - (d-ja-gva-91-191.dukascopy.com/194.8.15.191:10443) message factory created 2014-11-10 16:34:49.915 DEBUG CurvesJsonProtocolHandler - ServerTimeResponseMessage response received from Data Feed Server 2014-11-10 16:34:49.915 DEBUG CurvesJsonProtocolHandler - Server time response last latency - 1946. Weighted average latency - 1946 2014-11-10 16:34:49.915 INFO DCClientImpl - Connected 2014-11-10 16:34:50.165 DEBUG FeedDataProvider - First tick (live) received for [EUR/USD] - [1415633687274[2014-11-10 15:34:47.274+0000] / 1.24374 / 1.24372] 2014-11-10 16:34:50.762 DEBUG OrdersProvider - Order group update recived [73183066] 2014-11-10 16:34:50.762 DEBUG OrdersProvider - Order group [73183066] is new 2014-11-10 16:34:50.948 DEBUG OrdersProvider - Number of orders [1] 2014-11-10 16:34:51.037 DEBUG FeedDataProvider - First tick (live) received for [GBP/JPY] - [1415633689482[2014-11-10 15:34:49.482+0000] / 182.028 / 182.014] 2014-11-10 16:34:51.041 DEBUG FeedDataProvider - First tick (live) received for [EUR/CHF] - [1415633676824[2014-11-10 15:34:36.824+0000] / 1.20249 / 1.20241] 2014-11-10 16:34:51.043 DEBUG FeedDataProvider - First tick (live) received for [EUR/GBP] - [1415633689251[2014-11-10 15:34:49.251+0000] / 0.78368 / 0.78359] .... 2014-11-10 16:35:00.340 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [USD/CHF] period [1 Min] side [Bid] from [2014.11.10 15:00:00 000] to [2014.11.10 15:29:00 000] attempt [1] 2014-11-10 16:35:00.340 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [USD/CHF] period [1 Min] side [Bid] from [2014.11.10 15:00:00 000] to [2014.11.10 15:29:00 000] attempt [1] 2014-11-10 16:35:00.440 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [Ticks] side [null] from [2014.11.10 15:33:40 000] to [2014.11.10 15:34:49 482] attempt [1] 2014-11-10 16:35:00.450 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [1 Min] side [Ask] from [2014.11.10 15:30:00 000] to [2014.11.10 15:33:00 000] attempt [1] 2014-11-10 16:35:00.450 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [1 Min] side [Ask] from [2014.11.10 15:30:00 000] to [2014.11.10 15:33:00 000] attempt [1] 2014-11-10 16:35:00.570 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [1 Min] side [Ask] from [2014.11.10 15:30:00 000] to [2014.11.10 15:33:00 000] attempt [1] 2014-11-10 16:35:00.630 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [1 Min] side [Bid] from [2014.11.10 15:30:00 000] to [2014.11.10 15:33:00 000] attempt [1] 2014-11-10 16:35:00.630 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [1 Min] side [Bid] from [2014.11.10 15:30:00 000] to [2014.11.10 15:33:00 000] attempt [1] 2014-11-10 16:35:00.690 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [1 Min] side [Bid] from [2014.11.10 15:30:00 000] to [2014.11.10 15:33:00 000] attempt [1] 2014-11-10 16:35:00.740 DEBUG ScienceQueue - old tick removed from the queue [1415633699701[2014-11-10 15:34:59.701+0000] / 1.53442 / 1.53421], current time [1415633699701], diff [0] tick waiting in queue [3] 2014-11-10 16:35:00.820 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [Hourly] side [Ask] from [2014.11.10 12:00:00 000] to [2014.11.10 14:00:00 000] attempt [1] 2014-11-10 16:35:00.820 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [Hourly] side [Ask] from [2014.11.10 00:00:00 000] to [2014.11.10 14:00:00 000] attempt [1] 2014-11-10 16:35:00.880 DEBUG CurvesJsonProtocolHandler - Downloading data for instrument [EUR/CAD] period [Daily] side [Ask] from [2014.11.01 00:00:00 000] to [2014.11.09 00:00:00 000] attempt [1] com.dukascopy.api.JFException: com.dukascopy.charts.data.datacache.DataCacheException: Failed to load in-progress candle data in timeout period [AUD/CAD, 4 Hours, Bid]
2014-11-10 16:35:00.920 ERROR DCClientImpl$DefaultStrategyExceptionHandler - Exception thrown while running onTick method: null java.lang.NullPointerException at progv102_2.OrdCommand.onTick(OrdCommand.java:472) at com.dukascopy.api.impl.execution.TaskTick.postData(TaskTick.java:67) at com.dukascopy.api.impl.execution.AbstractPostDataTask.call(AbstractPostDataTask.java:43) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.dukascopy.api.impl.execution.ScienceThreadPoolExecutor$Worker.runTask(ScienceThreadPoolExecutor.java:904) at com.dukascopy.api.impl.execution.ScienceThreadPoolExecutor$Worker.run(ScienceThreadPoolExecutor.java:926) at java.lang.Thread.run(Thread.java:744) Stopping "OrdCommand" strategy at 2014-11-10 15:35:00.920 GMT on the local computer 2014-11-10 16:35:00.920 INFO DCClientImpl - Strategy stopped: 101
|
|
|
|
 |
Platform Support
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Mon 10 Nov, 2014, 18:00
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
New version has been released.
|
|
|
|
 |
Marston
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Mon 10 Nov, 2014, 18:17
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
with DDS2-jClient-JForex 2.39 I can not connect. Strategy stopped.with DDS2-jClient-JForex 2.36 the same problem: java.io.EOFException at java.io.DataInputStream.readByte(DataInputStream.java:267) at com.dukascopy.transport.common.msg.request.CurrencyMarket.parseData(CurrencyMarket.java:419) at com.dukascopy.transport.common.msg.request.CurrencyMarket.<init>(CurrencyMarket.java:318) at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:834) at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:778) at com.dukascopy.transport.common.protocol.json.JSonProtocolDecoder.decode(JSonProtocolDecoder.java:81) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.support.SSLHandler.flushScheduledEvents(SSLHandler.java:275) at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:427) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744)
|
|
|
|
 |
GeniuZ
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Mon 10 Nov, 2014, 18:48
|
|
User rating: 2
Joined: Mon 30 May, 2011, 15:41 Posts: 86 Location: Czech Republic, Prague
|
Problem still occurs. Problem is not in platform, problem is in standalone API SDK...
|
|
|
|
 |
MikeD
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Mon 10 Nov, 2014, 18:57
|
|
User rating: 0
Joined: Wed 10 Oct, 2012, 09:47 Posts: 33 Location: GermanyGermany
|
I get two error messages for pom.xml when I put pom.xml into my project and then trying to update with Eclips to new version Missing artifact com.dukascopy.dds2:DDS2-jClient-JForex:jar:2.41.3Missing artifact com.dukascopy.api:JForex-API:jar:sources:2.11What do I do wrong??? Actually, I can not find THESE new versions in repos: https://www.dukascopy.com/client/jforexl ... nt-JForex/and https://www.dukascopy.com/client/jforexl ... Forex-API/HOW COULD IT be? How can I then update to the new TODAY version of API with bug fixed? PS: I tried with JForex-API 2.10.1 and DDS2-jClient-JForex 2.39, which are LAST available in repos, but this all problems mentioned above are there(((
|
|
|
|
 |
GeniuZ
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Mon 10 Nov, 2014, 19:14
|
|
User rating: 2
Joined: Mon 30 May, 2011, 15:41 Posts: 86 Location: Czech Republic, Prague
|
|
|
|
 |
Marston
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 04:58
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
https://www.dukascopy.com/client/jforexl ... 2.41.3.jarDDS2-jClient-JForex-2.41.3.jar 404 - NOT FOUNDhttps://www.dukascopy.com/client/jforexl ... ources.jarJForex-API-2.11-sources.jar 404 - NOT FOUNDWhy not build a package for only external developer, a single stable package, with no updates? When you publish a new version of JForex, it's always a disaster. Missing files, exceptions, errors, api deprecated, again and again problems. It's annoying!! This waste my time, because when I solve a problem, after another release I have to work again to solve another problem. I do not use JForex, I use my app and I need a stable package. I ask one simple development kit and nothing else. Without Maven, updates or whatever. Is it possible? thanks
|
|
|
|
 |
Platform Support
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 09:04
|
|
JForex Master |  |
User rating: ∞
Joined: Wed 16 Sep, 2009, 18:23 Posts: 1054 Location: Geneva, Switzerland
|
|
|
|
 |
Marston
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 09:31
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
Scanning for projects... ------------------------------------------------------------------------ Building JForex-SDK 2.41 ------------------------------------------------------------------------ The POM for com.dukascopy.dds2:DDS2-jClient-JForex:jar:2.41.3 is missing, no dependency information available The POM for com.dukascopy.api:JForex-API:jar:sources:2.11 is missing, no dependency information available ------------------------------------------------------------------------ BUILD FAILURE ------------------------------------------------------------------------ Total time: 0.366s Finished at: Tue Nov 11 09:28:45 CET 2014 Final Memory: 5M/115M ------------------------------------------------------------------------ Failed to execute goal on project JForex-SDK: Could not resolve dependencies for project com.dukascopy.dds2:JForex-SDK:jar:2.41: The following artifacts could not be resolved: com.dukascopy.dds2:DDS2-jClient-JForex:jar:2.41.3, com.dukascopy.api:JForex-API:jar:sources:2.11: Failure to find com.dukascopy.dds2:DDS2-jClient-JForex:jar:2.41.3 in https://www.dukascopy.com/client/jforexlib/publicrepo/ was cached in the local repository, resolution will not be reattempted until the update interval of dc_public has elapsed or updates are forced -> [Help 1]
|
|
|
|
 |
Marston
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 09:35
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
|
|
|
 |
GeniuZ
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 10:08
|
|
User rating: 2
Joined: Mon 30 May, 2011, 15:41 Posts: 86 Location: Czech Republic, Prague
|
Published SDK version 2.41 solved market data exceptions.
|
|
|
|
 |
Marston
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 11:00
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
are you joking? with DDS2-jClient-JForex-2.41.3.jar and JForex-API-2.11-sources.jar The problem is not solved!!! Quote: java.io.EOFException at java.io.DataInputStream.readInt(DataInputStream.java:392) at java.io.DataInputStream.readFloat(DataInputStream.java:446) at com.dukascopy.transport.common.msg.request.CurrencyMarket.parseData(CurrencyMarket.java:431) at com.dukascopy.transport.common.msg.request.CurrencyMarket.<init>(CurrencyMarket.java:318) at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:834) at com.dukascopy.transport.common.msg.ProtocolMessage.parse(ProtocolMessage.java:778) at com.dukascopy.transport.common.protocol.json.JSonProtocolDecoder.decode(JSonProtocolDecoder.java:81) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.support.SSLHandler.flushScheduledEvents(SSLHandler.java:275) at org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:427) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648) at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:744) And now I have more problem with price!!!!! This exception block my program!!!!
|
|
|
|
 |
GeniuZ
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 11:03
|
|
User rating: 2
Joined: Mon 30 May, 2011, 15:41 Posts: 86 Location: Czech Republic, Prague
|
|
|
|
 |
Marston
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 11:09
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
I have all new libraries. Now it doesn't recognise the time interval: com.dukascopy.api.JFException: Requested time interval for instrument [GBP/CAD] period [4 Hours], from [1970-11-11 00:00:00:000] to [2014-11-11 04:00:00:000] GMT is not valid com.dukascopy.api.JFException: Requested time interval for instrument [GBP/CHF] period [4 Hours], from [1970-11-11 00:00:00:000] to [2014-11-11 04:00:00:000] GMT is not valid com.dukascopy.api.JFException: Requested time interval for instrument [GBP/JPY] period [4 Hours], from [1970-11-11 00:00:00:000] to [2014-11-11 04:00:00:000] GMT is not valid com.dukascopy.api.JFException: Requested time interval for instrument [GBP/USD] period [4 Hours], from [1970-11-11 00:00:00:000] to [2014-11-11 04:00:00:000] GMT is not valid com.dukascopy.api.JFException: Requested time interval for instrument [USD/CAD] period [4 Hours], from [1970-11-11 00:00:00:000] to [2014-11-11 04:00:00:000] GMT is not valid com.dukascopy.api.JFException: Requested time interval for instrument [USD/CHF] period [4 Hours], from [1970-11-11 00:00:00:000] to [2014-11-11 04:00:00:000] GMT is not valid com.dukascopy.api.JFException: Requested time interval for instrument [USD/JPY] period [4 Hours], from [1970-11-11 00:00:00:000] to [2014-11-11 04:00:00:000] GMT is not valid
This stops the program.
|
|
|
|
 |
Marston
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 11:14
|
|
User rating: 0
Joined: Wed 29 May, 2013, 04:14 Posts: 62
|
|
|
|
 |
MikeD
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 13:06
|
|
User rating: 0
Joined: Wed 10 Oct, 2012, 09:47 Posts: 33 Location: GermanyGermany
|
I am sorry, but I am in doubts. I use Eclipse, so I downloaded new and latest JForex-SDK.zip and extracted pom.xml here https://www.dukascopy.com/client/jforexl ... ex-SDK.zipThen I placed pom.xml into my project workspace instead old version pom.xml. In new version we have <artifactId>JForex-SDK</artifactId> <version>2.41</version> <artifactId>DDS2-jClient-JForex</artifactId> <version>2.41.3</version> <artifactId>JForex-API</artifactId> <version>2.11</version> Then I updated project using "right click on project" -> Maven-> Update Project And I still get error messages in Eclipse for pom.xml Missing artifact com.dukascopy.api:JForex-API:jar:sources:2.11 Missing artifact com.dukascopy.dds2:DDS2-jClient-JForex:jar:2.41.3If I put previous 2.10.1 and 2.39 version, messages disappear. I surely see corresponding jar-files in repositories, but Eclipse somehow cannot see/use it. Must I do something else? I am really in doubts, since I updated like that many times before... Please, help! Thanks in advance.
|
|
|
|
 |
GeniuZ
|
Post subject: Re: java.io.EOFException |
Post rating: 0
|
Posted: Tue 11 Nov, 2014, 13:11
|
|
User rating: 2
Joined: Mon 30 May, 2011, 15:41 Posts: 86 Location: Czech Republic, Prague
|
Try use previous project with functional pom.xml and rewrite described values in pom.xml, this is what I did, I download nothing, I always only replace version numbers in pom.xml (because I have customized pom.xml) and it is functional, so it looks like there is any bug in downloaded pom.xml?
|
|
|
|
 |
|
Pages: [
1, 2
»
]
|
|
|
|
|