When I save into Firebase data storage, I am getting the following errors but the email and password registration is fine in the login&auth section. I am using Java, Android. I already spent 3 hours but cannot fix problems (Maybe the new firebase android update?).
Here is proof that email/pass is working:
Firebase f = new Firebase("https://myapp.firebaseio.com/");
Firebase userData = f.child("User");
//save into login&auth of email and password SUCCESS
userData.createUser(emailAddr.getText().toString(), passwd.getText().toString(), new Firebase.ValueResultHandler<Map<String, Object>>() {
@Override
public void onSuccess(Map<String, Object> result) {
System.out.println("Successfully created user account with uid: " + result.get("uid"));
}
@Override
public void onError(FirebaseError firebaseError) {
// there was an error
}
});
Firebase set_user = userData.push();
String user_id = set_user.getKey();
//save into database FAILED
Map<String, Object> save_user = new HashMap<String, Object>();
save_user.put("disp_name", dispName.getText().toString());
save_user.put("real_name", rl_name.getText().toString());
save_user.put("email_addr", emailAddr.getText().toString());
save_user.put("user_pwd", passwd.getText().toString());
save_user.put("id",user_id);
set_user.setValue(save_user);
The following are errors I get from running the code above.
VFY: unable to find class referenced in signature (Lorg/shaded/apache/log4j/Logger;)
and
VFY: unable to resolve virtual method 26177: Lorg/shaded/apache/log4j/Category;.log (Ljava/lang/String;Lorg/shaded/apache/log4j/Priority;Ljava/lang/Object;Ljava/lang/Throwable;)V
and
Could not find method org.shaded.apache.log4j.Category.log, referenced from method org.shaded.apache.commons.logging.impl.Log4JLogger.trace
and
VFY: unable to resolve static field 9561 (WARN) in Lorg/shaded/apache/log4j/Priority;