maximilianvoss / musicsync

Syncing your Toniebox with Spotify Playlists
Apache License 2.0
104 stars 31 forks source link

Exception in thread "main" java.lang.NullPointerException #15

Closed n3roGit closed 3 years ago

n3roGit commented 4 years ago

I got the following error:

/tonie/spotify-toniebox-sync/target# java -jar spotify-toniebox-sync-1.3-SNAPSHOT-jar-with-dependencies.jar --apicode Jun 05, 2020 7:02:30 PM com.wrapper.spotify.SpotifyHttpManager makeUri SEVERE: URI Syntax Exception for "" Exception in thread "main" java.lang.NullPointerException at com.wrapper.spotify.requests.authorization.authorization_code.AuthorizationCodeUriRequest$Builder.redirect_uri(AuthorizationCodeUriRequest.java:74) at com.wrapper.spotify.SpotifyApi.authorizationCodeUri(SpotifyApi.java:406) at rocks.voss.spotifytonieboxsync.SpotifyAuthenticationSetup.getSignInUrl(SpotifyAuthenticationSetup.java:29) at rocks.voss.spotifytonieboxsync.Application.main(Application.java:40)

HHEN commented 4 years ago

Same here

bergerf commented 4 years ago

edit /main/resources/spotify-toniebox-sync.properties with your spotify clientid and secret, rebuild and run again...