unicode - Dropbox java api - can't use hebrew string -


i try to create dbxentry object path include hebrew character , it's doesn't work. it's gives me "nullpointerexception", here example of code try run main function:

public static void example(string s) throws ioexception, dbxexception{     auth();     dbxentry = client.getmetadata(s);     system.out.println(a.name); }  public static void main(string [] args) throws ioexception, dbxexception{     system.out.println("first example: ");     example("/public");     system.out.println("working..");      system.out.println("second example: ");     example("/לשום"); } 

the output is: first example: linked account: itay velner public working.. second example: linked account: itay velner

exception in thread "main" java.lang.nullpointerexception     @ node.main.example(main.java:137)     @ node.main.main(main.java:145) 

i tried in web , doesn't find yet. if convert hebrew string unicode it's still doesn't work. think there problem api,

any thoughts?

thanks, itay.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -