Dukascopy
 
 
Wiki JStore Search Login

IFXSentimentIndex null pointer exception
 Post subject: IFXSentimentIndex null pointer exception Post rating: 0   New post Posted: Mon 05 Nov, 2012, 18:55 

User rating: 1
Joined: Sun 22 Jul, 2012, 13:35
Posts: 40
Hi support.

I wrote for three times, but no answer!!!!!

Please fix this bug. I tried your sentiment index example from wiki, but result is still negative:
17:39:06 java.lang.NullPointerException @ jforex.dataservice.SentimentIndex_Multi.printIndex(SentimentIndex_Multi.java:82)[/color]
java console:
05.11.2012 18:39:02.872   SEVERE                              n.d ] ORA-06550: line 1, column 35:
PLS-00302: component 'GET_SWFX_SENTIMENT_4_JFOREX' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

com.dukascopy.charts.data.datacache.DataCacheException: ORA-06550: line 1, column 35:
PLS-00302: component 'GET_SWFX_SENTIMENT_4_JFOREX' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

   at com.dukascopy.charts.data.datacache.u.a(Unknown Source)
   at com.dukascopy.charts.data.datacache.n.d.a(Unknown Source)
   at com.dukascopy.charts.data.datacache.n.d.a(Unknown Source)
   at com.dukascopy.charts.data.datacache.n.d.a(Unknown Source)
   at com.dukascopy.charts.data.datacache.ah.a(Unknown Source)
   at com.dukascopy.api.impl.connect.av.getFXSentimentIndex(Unknown Source)
   at com.dukascopy.api.impl.connect.av.getFXSentimentIndex(Unknown Source)
   at jforex.dataservice.SentimentIndex_Multi.getAndPrintIndex(SentimentIndex_Multi.java:72)
   at jforex.dataservice.SentimentIndex_Multi.onStart(SentimentIndex_Multi.java:63)
   at com.dukascopy.api.impl.execution.u.call(Unknown Source)
   at com.dukascopy.api.impl.connect.bz.a(Unknown Source)
   at com.dukascopy.api.impl.connect.bb.call(Unknown Source)
   at com.dukascopy.api.impl.connect.bb.call(Unknown Source)
   at com.dukascopy.api.impl.execution.k.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at com.dukascopy.api.impl.execution.g$a.f(Unknown Source)
   at com.dukascopy.api.impl.execution.g$a.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
05.11.2012 18:39:02.873   SEVERE                        agent.o$b ] Exception thrown whiler running onStart method: null
java.lang.NullPointerException
   at jforex.dataservice.SentimentIndex_Multi.printIndex(SentimentIndex_Multi.java:82)
   at jforex.dataservice.SentimentIndex_Multi.getAndPrintIndex(SentimentIndex_Multi.java:72)
   at jforex.dataservice.SentimentIndex_Multi.onStart(SentimentIndex_Multi.java:63)
   at com.dukascopy.api.impl.execution.u.call(Unknown Source)
   at com.dukascopy.api.impl.connect.bz.a(Unknown Source)
   at com.dukascopy.api.impl.connect.bb.call(Unknown Source)
   at com.dukascopy.api.impl.connect.bb.call(Unknown Source)
   at com.dukascopy.api.impl.execution.k.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at com.dukascopy.api.impl.execution.g$a.f(Unknown Source)
   at com.dukascopy.api.impl.execution.g$a.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


Thank you very much for prompt reply.


 
 Post subject: Re: IFXSentimentIndex null pointer exception Post rating: 0   New post Posted: Tue 06 Nov, 2012, 19:25 

User rating: 1
Joined: Sun 22 Jul, 2012, 13:35
Posts: 40
Thank you for quickly repair. ;)
But it is correct only on demo. On live is still this bug.
Java console report:
06.11.2012 19:12:42.269   SEVERE                            n.b ] Request for FX Sentiment Index timed out
com.dukascopy.charts.data.datacache.DataCacheException: Request for FX Sentiment Index timed out
   at com.dukascopy.charts.data.datacache.t.a(Unknown Source)
   at com.dukascopy.charts.data.datacache.n.b.a(Unknown Source)
   at com.dukascopy.charts.data.datacache.n.b.a(Unknown Source)
   at com.dukascopy.charts.data.datacache.n.b.a(Unknown Source)
   at com.dukascopy.charts.data.datacache.ah.a(Unknown Source)
   at com.dukascopy.api.impl.connect.av.getFXSentimentIndex(Unknown Source)
   at jforex.dataservice.SentimentIndex_Multi.getAndPrintIndex(SentimentIndex_Multi.java:72)
   at jforex.dataservice.SentimentIndex_Multi.onStart(SentimentIndex_Multi.java:63)
   at com.dukascopy.api.impl.execution.u.call(Unknown Source)
   at com.dukascopy.api.impl.connect.by.a(Unknown Source)
   at com.dukascopy.api.impl.connect.az.call(Unknown Source)
   at com.dukascopy.api.impl.connect.az.call(Unknown Source)
   at com.dukascopy.api.impl.execution.k.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at com.dukascopy.api.impl.execution.g$a.f(Unknown Source)
   at com.dukascopy.api.impl.execution.g$a.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
06.11.2012 19:12:42.270   SEVERE                      agent.o$b ] Exception thrown whiler running onStart method: null
java.lang.NullPointerException
   at jforex.dataservice.SentimentIndex_Multi.printIndex(SentimentIndex_Multi.java:82)
   at jforex.dataservice.SentimentIndex_Multi.getAndPrintIndex(SentimentIndex_Multi.java:72)
   at jforex.dataservice.SentimentIndex_Multi.onStart(SentimentIndex_Multi.java:63)
   at com.dukascopy.api.impl.execution.u.call(Unknown Source)
   at com.dukascopy.api.impl.connect.by.a(Unknown Source)
   at com.dukascopy.api.impl.connect.az.call(Unknown Source)
   at com.dukascopy.api.impl.connect.az.call(Unknown Source)
   at com.dukascopy.api.impl.execution.k.call(Unknown Source)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at com.dukascopy.api.impl.execution.g$a.f(Unknown Source)
   at com.dukascopy.api.impl.execution.g$a.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Please check and fix.

Thank you.

Demo preview in attachment:
Attachment:
SWFX sentiment index.png [34.31 KiB]
Downloaded 394 times


 
 Post subject: Re: IFXSentimentIndex null pointer exception Post rating: 1   New post Posted: Wed 07 Nov, 2012, 09:59 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
On LIVE, it will be updated with a new platform version.


 

Jump to:  

  © 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