Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Listener for in-progress candle is null
 Post subject: Listener for in-progress candle is null Post rating: 0   New post Posted: Tue 17 May, 2016, 13:38 
User avatar

User rating: 2
Joined: Thu 27 Jun, 2013, 07:45
Posts: 11
Hi,
from years i use dollar index indicator w/o any problems until now.
After last platform update to version 2.45.45 and API ver. 2.12.39. If i try to add DXY indicator on active chart - i receive an exception "Listener for in-progress candle is null"!
After this exception the chart stop feed prices. No problem with Quotes on left side in platform. i.e. in market depth table, in instruments table, in order entry pane - the quotes is moving.

Here is a java console output:

Java Web Start 11.91.2.14
Using JRE version 1.8.0_91-b14 Java HotSpot(TM) Client VM
User home directory = C:\Users\krasi.REDCO
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
----------------------------------------------------
2016-05-17 15:16:46.570 INFO f - java.util.Arrays$LegacyMergeSort.userRequested: false
2016-05-17 15:16:46.570 INFO f - Force to enable java.util.Arrays.useLegacyMergeSort.
2016-05-17 15:16:46.570 INFO f - java.util.Arrays.useLegacyMergeSort enabled.
2016-05-17 15:16:46.570 INFO GreedClient - Checking the preferences factory.
2016-05-17 15:16:46.570 INFO GreedClient - The preferences factory is ok
2016-05-17 15:16:46.791 INFO GreedClient - Run from webstart
2016-05-17 15:16:46.812 INFO GreedClient - The current log file=C:\Users\krasi.REDCO\AppData\Local\Temp\jforex-logs\LOG_2016-05-17 15.16.46.log
2016-05-17 15:16:47.804 INFO GreedClient - ClassLoader fix applied
2016-05-17 15:17:01.754 INFO ConnectAction - Authenticating...
2016-05-17 15:17:01.764 INFO AuthorizationClient - Auth step 1 request [3F0014BAA08E4097437CD7E4DD12E9EC25057F8F]
2016-05-17 15:17:01.774 DEBUG AuthorizationClient - >> [https://login.dukascopy.com/authorization-1/demo/auth?munus=srp_api&sermo=0dcbd4ef-4ab5-4320-8ed9-3cdbaa1f2a9c&passus=1&srp_versio=1&appello=3F0014BAA08E4097437CD7E4DD12E9EC25057F8F]
2016-05-17 15:17:03.634 DEBUG AuthorizationClient - << [{"B":"357648b83f76045f8cd83095fb62656e9bc0f3300805a3b3eefdef8c47500bb956a7b5457b8ef3335212a4db6c8026a6545df79813868faad1090003971e42343a1708fb7141bdbd58de62d8ce78b611e0ce64911c998bb6bb51c3a4db05845b92db235ef2e4b960939c35880a5ea274b0e4fa4c7c8e21528e85959cf07005df85a37fd13f947802276740bdfd380e0c4630289cf853c9d86a29d32cc7aaa26637958e8a9cb0568150c6209d4514671c0f81514b14514c3555e42c3f2ff888f761c32cd7434a69533489a9de1c35e605221c8608e0025de1af8c2c569824988c3b9608fd205cc1b4101b19bf5b70ae049ac92519ebd8f4c6f941a02e4bfb649","S":"4ae2840820b7b938731ff94893a91c9e","G":"2","H":"SHA-256","K":"5b9e8ef059c6b32ea59fc1d322d37f04aa30bae5aa9003b8321e21ddb04e300","N":"ac6bdb41324a9a9bf166de5e1389582faf72b6651987ee07fc3192943db56050a37329cbb4a099ed8193e0757767a13dd52312ab4b03310dcd7f48a9da04fd50e8083969edb767b0cf6095179a163ab3661a05fbd5faaae82918a9962f0b93b855f97993ec975eeaa80d740adbf4ff747359d041d5c33ea71d281e446b14773bca97b43a23fb801676bd207a436c6481f1d2b9078717461a5b9d32e688f87748544523b524b0d57d5ea77a2775d2ecfa032cfbdbf52fb3786160279004e57ae6af874e7303ce53299ccc041c7bc308d82a5698f3a8d0c38271ae35f8e9dbfbb694b5c803d89f7ae435de236d525f54759b65e372fcd68ef20fa7111f9e4aff73","srp_versio":"1"}]
2016-05-17 15:17:03.644 INFO AuthorizationClient - Auth step 1 response [ServerResponseObject [passwordServerResponse=Step1ServerResponse [serverPublicValueB=357648b83f76045f8cd83095fb62656e9bc0f3300805a3b3eefdef8c47500bb956a7b5457b8ef3335212a4db6c8026a6545df79813868faad1090003971e42343a1708fb7141bdbd58de62d8ce78b611e0ce64911c998bb6bb51c3a4db05845b92db235ef2e4b960939c35880a5ea274b0e4fa4c7c8e21528e85959cf07005df85a37fd13f947802276740bdfd380e0c4630289cf853c9d86a29d32cc7aaa26637958e8a9cb0568150c6209d4514671c0f81514b14514c3555e42c3f2ff888f761c32cd7434a69533489a9de1c35e605221c8608e0025de1af8c2c569824988c3b9608fd205cc1b4101b19bf5b70ae049ac92519ebd8f4c6f941a02e4bfb649, saltS=4ae2840820b7b938731ff94893a91c9e, safePrimeN=ac6bdb41324a9a9bf166de5e1389582faf72b6651987ee07fc3192943db56050a37329cbb4a099ed8193e0757767a13dd52312ab4b03310dcd7f48a9da04fd50e8083969edb767b0cf6095179a163ab3661a05fbd5faaae82918a9962f0b93b855f97993ec975eeaa80d740adbf4ff747359d041d5c33ea71d281e446b14773bca97b43a23fb801676bd207a436c6481f1d2b9078717461a5b9d32e688f87748544523b524b0d57d5ea77a2775d2ecfa032cfbdbf52fb3786160279004e57ae6af874e7303ce53299ccc041c7bc308d82a5698f3a8d0c38271ae35f8e9dbfbb694b5c803d89f7ae435de236d525f54759b65e372fcd68ef20fa7111f9e4aff73, correspondingGeneratorG=2, hashAlgorithmH=SHA-256, srpProtocolVersion=1], pinServerResponse=null]]
2016-05-17 15:17:04.096 INFO AuthorizationClient - Auth step 2 request A [4026924622611690079256307374271884819590255960079941051419188154580598514370790989300437087075472912037031611318441685366578629572747722084384271157479329270078729152375511446387234886416549817042273090497322836789876083029522372977454844368616383451517654181246533770498943948833883405863616840577195037218681887574546075738250842028823798188527479896345354555219464364055694255370467571824683768888456962503018764032885377581870639806302529344517384524105102063304491073834610483427324835425158737119870557605846524319360372496248068006728626752207713868094406312427135761619072693400849283510717999621547640431949], M1 [6943421039867534681928516137424195515460522098320407111239075175132401755946]
2016-05-17 15:17:04.096 DEBUG AuthorizationClient - >> [https://login.dukascopy.com/authorization-1/demo/auth?munus=srp_api&sermo=0dcbd4ef-4ab5-4320-8ed9-3cdbaa1f2a9c&passus=2&srp_versio=1&publicus_pendo=1fe63e445e961be6a2d0c0c05ab6aace12a870aed2b17502ac83b0887beb4b6c5bfeb37b116ba95b65c829e0ac1cf214b96401ac24f3bdd83d5c95004446600db4e6e23ff6bde91488ec2bb6213f135279ceb75efe3710ef669c9fa3dbcd13708f212fbbb0f27b2b3d426ad3d9578986197663f2ca55a39f56be84e2a527ca3ea0796e9f1d2ff55756dd4a4a087eacc9c3c7aaea26b548d86bc39bfa5c7bbbde22b8feaa7d3f062c29d181c6644ca13e5a6331cc8125fbfd5d4e6beff71c47e46b631e3f32bff0251e4847dd626336c2f0ecc4944ab64d81e2738b4ef7800146bd9d6f930a39ecf29ea46ab37d0f81ead36599e516c2b239692d50a211c3254d&testimonium_nuntius=f59d648476568620a0f5ba6ef4d4474238f8a39430891026e304e24bb7be72a]
2016-05-17 15:17:05.006 DEBUG AuthorizationClient - << [{"M2":"208f26893ac72df834c1e64eee678fb7aa49c77108c5a2b181f0ee6d9bbd8ac5","srp_versio":"1"}]
2016-05-17 15:17:05.006 INFO AuthorizationClient - Auth step 2 response [ServerResponseObject [passwordServerResponse=Step2ServerResponse [serverEvidenceMessageM2=208f26893ac72df834c1e64eee678fb7aa49c77108c5a2b181f0ee6d9bbd8ac5, srpProtocolVersion=1], pinServerResponse=null]]
2016-05-17 15:17:05.006 INFO AuthorizationClient - Auth step 3 request
2016-05-17 15:17:05.006 DEBUG AuthorizationClient - >> [https://login.dukascopy.com/authorization-1/demo/auth?munus=srp_api&sermo=0dcbd4ef-4ab5-4320-8ed9-3cdbaa1f2a9c&passus=3&srp_versio=1&platform=DDS3_JFOREX&versio=2.45.45&willPing=true&occasus=true]
2016-05-17 15:17:05.736 DEBUG AuthorizationClient - << [{"occasus":"rO0ABXNyABRqYXZhLnV0aWwuUHJvcGVydGllczkS0HpwNj6YAgABTAAIZGVmYXVsdHN0ABZMamF2\r\nYS91dGlsL1Byb3BlcnRpZX...","authApiURLs":["d-ja-gva-141-194.dukascopy.com:10443","d-ja-usa-e-96-4-a.dukascopy.com:10443","d-ja-sgn-04-b.dukascopy.com:10443","d-ja-jpn-102-100-c.dukascopy.com:10443","d-ja-hk-05.dukascopy.com:10443","d-ja-msk-10.dukascopy.com:10443"],"srp_versio":"1"}]
2016-05-17 15:17:05.746 INFO AuthorizationClient - Auth step 3 response [ServerResponseObject [passwordServerResponse=Step3ServerResponse [serverResponse={"occasus":"rO0ABXNyABRqYXZhLnV0aWwuUHJvcGVydGllczkS0HpwNj6YAgABTAAIZGVmYXVsdHN0ABZMamF2\r\nYS91dGlsL1Byb3BlcnRpZX...","authApiURLs":["d-ja-gva-141-194.dukascopy.com:10443","d-ja-usa-e-96-4-a.dukascopy.com:10443","d-ja-sgn-04-b.dukascopy.com:10443","d-ja-jpn-102-100-c.dukascopy.com:10443","d-ja-hk-05.dukascopy.com:10443","d-ja-msk-10.dukascopy.com:10443"],"srp_versio":"1"}], pinServerResponse=null]]
2016-05-17 15:17:05.816 INFO AuthorizationClient - Selecting the best server...
2016-05-17 15:17:06.578 DEBUG AuthorizationClient - Best api url [d-ja-gva-141-194.dukascopy.com:10443] with time [50]
2016-05-17 15:17:06.755 INFO d - Workspace settings successfully loaded from file: C:\Users\krasi.REDCO\AppData\Local\JForex\Workspaces\DEMO\demoBlue.xml
2016-05-17 15:17:06.962 WARN d - Cannot delete lock file [D:\Admin\FX\NewCache\.cache\lock0.lck]
2016-05-17 15:17:07.020 INFO b - Started
2016-05-17 15:17:07.029 INFO k - Starting to analyze all cache for mffolder.
2016-05-17 15:17:07.056 INFO k - Finished all cache analization for mffolder! Duration [27] ms
2016-05-17 15:17:08.257 INFO f - Start Platform Clock
2016-05-17 15:17:10.523 INFO e - TcpNoDelay=false
jmx:type=TransportClient,name=JForex platform
2016-05-17 15:17:10.553 INFO Log4jLoggerAdapter - Connecting...
2016-05-17 15:17:10.563 INFO PlatformInitAction - API Connecting - 2016-05-17 12:17:10
2016-05-17 15:17:10.993 INFO i - Server: JForex platform responded with version: 4
2016-05-17 15:17:10.993 INFO b - Primary connect successfull, primarySession is [MinaIoSessionWrapper [session=(SOCKET, R: d-ja-gva-141-194.dukascopy.com/194.8.15.194:10443, L: /192.168.0.169:42503, S: d-ja-gva-141-194.dukascopy.com/194.8.15.194:10443)]], address is [d-ja-gva-141-194.dukascopy.com/194.8.15.194:10443]
2016-05-17 15:17:11.088 INFO d - !!!:Thread[(JForex platform) ClientConnector,6,javawsApplicationThreadGroup]
2016-05-17 15:17:11.096 INFO b - Child socket connection could be accepted now by server [<ChildSocketAuthAcceptorMessage(parentSessionId=d06b06e1-c795-4321-a971-9f206def99fb,timestamp=1463487430074)>], transport client [JForex platform, d-ja-gva-141-194.dukascopy.com/194.8.15.194:10443]
2016-05-17 15:17:11.097 INFO e - API Authorized - 2016-05-17 12:17:11
2016-05-17 15:17:11.103 INFO d - LiveCurrencyMarketManager started.
2016-05-17 15:17:12.516 INFO i - Server: JForex platform responded with version: 4
2016-05-17 15:17:12.516 INFO b - Child session opened for [d-ja-gva-141-194.dukascopy.com/194.8.15.194:10443], sending [<ChildSocketAuthAcceptorMessage(parentSessionId=d06b06e1-c795-4321-a971-9f206def99fb,timestamp=1463487430074)>], successful consequent attempt [1]
2016-05-17 15:17:12.626 INFO d - d created.
2016-05-17 15:17:12.626 INFO d - Loaded available news languages: [NewsLanguage [code=uk, name=Ukrainian, nationalName=Українська], NewsLanguage [code=he, name=Hebrew, nationalName=?????], NewsLanguage [code=cs, name=Czech, nationalName=?e?tina], NewsLanguage [code=ru, name=Russian, nationalName=Русский], NewsLanguage [code=fa, name=Persian, nationalName=?????], NewsLanguage [code=ms, name=Malay, nationalName=Malay], NewsLanguage [code=sk, name=Slovak, nationalName=Sloven?ina], NewsLanguage [code=sv, name=Swedish, nationalName=Svenska], NewsLanguage [code=pl, name=Polish, nationalName=Polski], NewsLanguage [code=hu, name=Hungarian, nationalName=Magyar], NewsLanguage [code=ja, name=Japanese, nationalName=???], NewsLanguage [code=fr, name=French, nationalName=Fran?ais], NewsLanguage [code=ar, name=Arabic, nationalName=???????], NewsLanguage [code=it, name=Italian, nationalName=Italiano], NewsLanguage [code=ro, name=Romanian, nationalName=Rom?n], NewsLanguage [code=bg, name=Bulgarian, nationalName=Български], NewsLanguage [code=de, name=German, nationalName=Deutsch], NewsLanguage [code=th, name=Thai, nationalName=?????], NewsLanguage [code=pt, name=Portuguese, nationalName=Portugu?s], NewsLanguage [code=es, name=Spanish, nationalName=Espa?ol], NewsLanguage [code=en, name=English, nationalName=English], NewsLanguage [code=zh, name=Chinese, nationalName=??]]
2016-05-17 15:17:12.626 INFO e - NewsSubscribeManager created.
2016-05-17 15:17:12.716 INFO f - Put to queue news subscribe request: [DUKASCOPY_WEBINAR]; interval: online
2016-05-17 15:17:12.716 INFO e - Send to server :
<NewsSubscribeRequest(requestType=SUBSCRIBE,from=-9223372036854775808,to=-9223372036854775808,marketSectors=[],currencies=[],indicies=[],eventCategories=[],geoRegions=[],hot=false,sources=[DUKASCOPY_WEBINAR],keywords=[],languages=[])>
2016-05-17 15:17:12.736 INFO e - Connected to d-ja-gva-141-194
2016-05-17 15:17:12.736 INFO Log4jLoggerAdapter - Connected.
2016-05-17 15:17:12.746 INFO FullDepthInstrumentSubscribeAction - FULL DEPTH INSTRUMENTS: [EUR/USD]
2016-05-17 15:17:12.979 INFO e - Platform is subscribed to [DUKASCOPY_WEBINAR]; interval (UTC TimeZone): online
2016-05-17 15:17:12.991 INFO e - Charts reloaded.
2016-05-17 15:17:13.041 DEBUG AccountInfoMessageWaitingHelper - AccountInfoMessageInit received. Waiting time=1944ms
2016-05-17 15:17:13.041 INFO e - Initializing...
2016-05-17 15:17:15.156 INFO InstrumentSubscribeAction - SUBSCRIBED INSTRUMENTS: [USD/CHF, USD/JPY, GBP/USD, USD/CAD, USD/SEK, USD/NOK, EUR/USD, USD/SGD]
2016-05-17 15:17:15.164 INFO f - Put to queue news subscribe request: [DJ_LIVE_CALENDAR]; interval: (from 2016-05-17 00:00:00:000 to 2016-05-17 23:59:59:999)
2016-05-17 15:17:15.164 INFO e - Send to server :
<NewsSubscribeRequest(requestType=SUBSCRIBE,from=1463443200000,to=1463529599999,marketSectors=[],currencies=[],indicies=[],eventCategories=[],geoRegions=[],calendarType=IEP,hot=false,sources=[DJ_LIVE_CALENDAR],keywords=[],languages=[])>
2016-05-17 15:17:15.330 INFO f - Put to queue news subscribe request: [DUKASCOPY_WEBINAR, FXSPIDER_NEWS]; interval: (from 2016-05-17 12:07:15:329 to 2016-05-17 12:17:15:329)
2016-05-17 15:17:15.335 INFO e - Send to server :
<NewsSubscribeRequest(requestType=SUBSCRIBE,from=1463486835329,to=1463487435329,marketSectors=[],currencies=[],indicies=[],eventCategories=[],geoRegions=[],hot=false,sources=[DUKASCOPY_WEBINAR, FXSPIDER_NEWS],keywords=[],languages=[en])>
2016-05-17 15:17:15.416 INFO e - Platform is subscribed to [DJ_LIVE_CALENDAR]; interval (UTC TimeZone): (from 2016-05-17 00:00:00:000 to 2016-05-17 23:59:59:999)
2016-05-17 15:17:15.442 INFO e - Platform is subscribed to [DUKASCOPY_WEBINAR, FXSPIDER_NEWS]; interval (UTC TimeZone): (from 2016-05-17 12:07:15:329 to 2016-05-17 12:17:15:329)
2016-05-17 15:17:25.905 INFO FullDepthInstrumentSubscribeAction - FULL DEPTH INSTRUMENTS: [USD/JPY]
2016-05-17 15:17:56.310 INFO e - Cannot start data provider. Sequence provider not finalized yet!
2016-05-17 15:17:56.310 INFO e - Cannot start data provider. Sequence provider not finalized yet!
2016-05-17 15:17:56.310 INFO e - Cannot start data provider. Sequence provider not finalized yet!
2016-05-17 15:17:56.310 INFO e - Cannot start data provider. Sequence provider not finalized yet!
2016-05-17 15:17:56.310 INFO e - Cannot start data provider. Sequence provider not finalized yet!
2016-05-17 15:17:56.320 ERROR b - Failed to add indicator to data manager...
java.lang.Exception: Failed to add indicator to data manager...
at com.dukascopy.charts.chartbuilder.ay.a(L:86)
at com.dukascopy.charts.chartbuilder.b.a(L:293)
at com.dukascopy.charts.main.DDSChartsControllerImpl.a(L:308)
at com.dukascopy.charts.dialogs.indicators.AddIndicatorDialog.m(L:299)
at com.dukascopy.charts.dialogs.indicators.AddIndicatorDialog.av(L:286)
at com.dukascopy.charts.dialogs.indicators.AddIndicatorDialog.actionPerformed(L:216)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at com.dukascopy.charts.dialogs.indicators.AddEditIndicatorDialog.tF(L:110)
at com.dukascopy.charts.dialogs.indicators.AddIndicatorDialog.<init>(L:63)
at com.dukascopy.charts.chartbuilder.b.id(L:641)
at com.dukascopy.charts.main.DDSChartsControllerImpl.bt(L:731)
at com.dukascopy.dds2.greed.gui.component.chart.buttons.b.eh(L:222)
at com.dukascopy.dds2.greed.gui.component.chart.buttons.b.actionPerformed(L:170)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NullPointerException: Listener for in-progress candle is null
at com.dukascopy.charts.data.datacache.au.c(L:561)
at com.dukascopy.charts.math.dataprovider.e.b(L:909)
at com.dukascopy.charts.math.dataprovider.e.a(L:850)
at com.dukascopy.charts.math.dataprovider.e.a(L:832)
at com.dukascopy.charts.math.dataprovider.e.setFilter(L:803)
at com.dukascopy.charts.math.dataprovider.AbstractDataProvider.E(L:1277)
at com.dukascopy.charts.math.dataprovider.AbstractDataProvider.b(L:881)
at com.dukascopy.charts.math.dataprovider.e.b(L:901)
at com.dukascopy.charts.math.dataprovider.e.a(L:855)
at com.dukascopy.charts.math.dataprovider.e.a(L:832)
at com.dukascopy.charts.math.dataprovider.e.setFilter(L:803)
at com.dukascopy.charts.math.dataprovider.AbstractDataProvider.i(L:552)
at com.dukascopy.charts.data.a.i(L:538)
at com.dukascopy.charts.chartbuilder.ay.a(L:79)
... 93 more
2016-05-17 15:18:01.787 ERROR bu -
java.lang.NullPointerException
at com.dukascopy.charts.data.datacache.au.a(L:1655)
at com.dukascopy.charts.data.datacache.bu.a(L:1297)
at com.dukascopy.charts.data.datacache.bu.b(L:165)
at com.dukascopy.charts.data.datacache.bu.newTick(L:1304)
at com.dukascopy.charts.data.datacache.au.a(L:1842)
at com.dukascopy.charts.data.datacache.au.a(L:1798)
at com.dukascopy.dds2.greed.connection.h.a(L:50)
at com.dukascopy.dds2.greed.market.e.c(L:169)
at com.dukascopy.dds2.greed.market.d.a(L:38)
at com.dukascopy.dds2.greed.market.d.a(L:30)
at com.dukascopy.dds2.greed.market.a.a(L:19)
at com.dukascopy.dds2.greed.connection.e.x(L:715)
at com.dukascopy.dds2.greed.connection.e.a(L:330)
at com.dukascopy.dds4.transport.client.a.a.execute(L:63)
at com.dukascopy.dds4.transport.common.mina.d.run(L:42)
at com.dukascopy.dds4.transport.client.g.doRun(L:79)
at com.dukascopy.dds4.transport.client.g.run(L:61)
2016-05-17 15:18:07.022 INFO b - Checking cache change...


Attachments:
File comment: DXYindicator
DXYIndicator.java [6.37 KiB]
Downloaded 174 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Listener for in-progress candle is null Post rating: 0   New post Posted: Tue 17 May, 2016, 13:44 
User avatar

User rating: 2
Joined: Thu 27 Jun, 2013, 07:45
Posts: 11
I have also another indicator which is derived from DXYindicator , they also give same exception.
I did the same test on another machine. The result was the same.


 
 Post subject: Re: Listener for in-progress candle is null Post rating: 0   New post Posted: Mon 23 May, 2016, 12:48 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
I encounter the same "Failed to add indicator to data manager..." problem while using a customized indicator.
@support: did you change anything in the custom indicator calls?

It still works well in older JForex versions, such as on Live, which is 2.45.41 currently.

My urgent call again (for almost 3 years now) to Dukascopy
1) Please keep Live and Demo the same version
2) Deploy beta versions to beta testers first before you roll out new releases.
You always change the demo version and use your customers as beta testers. This is not a good plan.....


 
 Post subject: Re: Listener for in-progress candle is null Post rating: 0   New post Posted: Mon 23 May, 2016, 13:14 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
Here is a simple example of this error

I took the CustomCandleIndicator.java file from the current JForex-API-2.12.33-sources.jar package, renamed the class and the indicator name only. Then I simply compiled it in JForex.
If I run it on JForex demo current v.2.45.45 ---> no indicator gets painted, but error "12:03:57 Listener for in-progress candle is null" appears.
If I run it on JForex live current v.2.45.41 ----> the indicator gets painted, but the chart and all prices freeze.

But if I run it on JForex demo on an old running version 2.45.43 (I did not update this version for some time) ---> the indicator gets painted, no freeze at all.

Please help!
How can I reload version 2.45.43 from your server? 2.45.41 and 2.45.45 seems not working!


Attachments:
MyCustomCandleIndicator.java [10.44 KiB]
Downloaded 166 times
MyCustomCandleIndicator.jfx [12.9 KiB]
Downloaded 184 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Listener for in-progress candle is null Post rating: 0   New post Posted: Thu 16 Jun, 2016, 14:01 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We were unable to reproduce this with current JClient version.


 

Jump to:  

cron
  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com