Skip to content

Sample : Host name may not be null #13

Description

@meltaran777

When I am trying to use your sample app and play radio i get ERROR

Exception occured java.lang.IllegalArgumentException java.lang.IllegalArgumentException: Host name may not be null at org.apache.http.HttpHost.<init>(HttpHost.java:88) at org.apache.http.impl.client.AbstractHttpClient.determineTarget(AbstractHttpClient.java:529) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:519) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:497) at com.deezer.sdk.player.impl.HipHop.accordion(Unknown Source) at com.deezer.sdk.player.impl.HipHop.accordion(Unknown Source) at com.deezer.sdk.player.impl.HipHop.accordion(Unknown Source) at com.deezer.sdk.player.impl.HipHop$Blues.run(Unknown Source) at java.lang.Thread.run(Thread.java:818)

mDeezerConnect = new DeezerConnect(this, SAMPLE_APP_ID);
 mRadioPlayer = new RadioPlayer(getApplication(), mDeezerConnect,
                    new WifiAndMobileNetworkStateChecker());
mRadioPlayer.playRadio(RadioType.RADIO, radio.getId()); // <-- in this plaсе error occured

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions