XChange is a Java library providing a streamlined API for interacting with 60+ Bitcoin and Altcoin exchanges providing a consistent interface for trading and accessing market data.
it comes to a NPE during the call KrakenPollingAccountService.getAccountInfo
the creation of wallet with currency XNMC (Namecoins) leads to an error, since KrakenUtils.getCurrency(String krakenCurrencyCode) returns null for XNMC
java.lang.NullPointerException: Currency code must not be null
at org.joda.money.MoneyUtils.checkNotNull(MoneyUtils.java:33)
at org.joda.money.CurrencyUnit.of(CurrencyUnit.java:257)
at com.xeiam.xchange.dto.trade.Wallet.createInstance(Wallet.java:61)
at com.xeiam.xchange.kraken.KrakenAdapters.adaptBalance(KrakenAdapters.java:111)
at com.xeiam.xchange.kraken.service.polling.KrakenPollingAccountService.getAccountInfo(KrakenPollingAccountService.java:64)
it comes to a NPE during the call KrakenPollingAccountService.getAccountInfo the creation of wallet with currency XNMC (Namecoins) leads to an error, since KrakenUtils.getCurrency(String krakenCurrencyCode) returns null for XNMC
java.lang.NullPointerException: Currency code must not be null at org.joda.money.MoneyUtils.checkNotNull(MoneyUtils.java:33) at org.joda.money.CurrencyUnit.of(CurrencyUnit.java:257) at com.xeiam.xchange.dto.trade.Wallet.createInstance(Wallet.java:61) at com.xeiam.xchange.kraken.KrakenAdapters.adaptBalance(KrakenAdapters.java:111) at com.xeiam.xchange.kraken.service.polling.KrakenPollingAccountService.getAccountInfo(KrakenPollingAccountService.java:64)