[Nexus 5 Q&A, Help & Troubleshooting] Tyrany:
Hello im trying to port lattest muiu v6 to nexus 5 and now im stuck on this very anoying error =( can someone help me?

E/AndroidRuntime( 2092): Error reporting WTF

E/AndroidRuntime( 2092): java.lang.NullPointerException

E/AndroidRuntime( 2092): at com.android.internal.os.RuntimeInit.wtf(RuntimeInit.java:339)

E/AndroidRuntime( 2092): at android.util.Log$1.onTerribleFailure(Log.java:104)

E/AndroidRuntime( 2092): at android.util.Log.wtf(Log.java:297)

E/AndroidRuntime( 2092): at android.util.Log.wtf(Log.java:290)

E/AndroidRuntime( 2092): at android.os.Environment.throwIfUserRequired(Environment.java:783)

E/AndroidRuntime( 2092): at android.os.Environment.getExternalStorageDirectory(Environment.java:384)

E/AndroidRuntime( 2092): at miui.os.Environment.<clinit>(SourceFile:31)

E/AndroidRuntime( 2092): at com.android.server.pm.PreinstallApp.<clinit>(PreinstallApp.java:43)

E/AndroidRuntime( 2092): at com.android.server.pm.PackageManagerServiceInjector.performPreinstallApp(PackageManagerServiceInjector.java:397)

E/AndroidRuntime( 2092): at com.android.server.pm.MiuiPackageManagerService.performPreinstallApp(MiuiPackageManagerService.java:50)

E/AndroidRuntime( 2092): at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1395)

E/AndroidRuntime( 2092): at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1051)

E/AndroidRuntime( 2092): at com.android.server.ServerThread.initAndLoop(SystemServer.java:253)

E/AndroidRuntime( 2092): at com.android.server.SystemServer.main(SystemServer.java:1205)

E/AndroidRuntime( 2092): at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 2092): at java.lang.reflect.Method.invoke(Method.java:515)

E/AndroidRuntime( 2092): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:805)

E/AndroidRuntime( 2092): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:621)

E/AndroidRuntime( 2092): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 2092): Original WTF:

E/AndroidRuntime( 2092): android.util.Log$TerribleFailure: Path requests must specify a user by using UserEnvironment

E/AndroidRuntime( 2092): at android.util.Log.wtf(Log.java:294)

E/AndroidRuntime( 2092): at android.util.Log.wtf(Log.java:290)

E/AndroidRuntime( 2092): at android.os.Environment.throwIfUserRequired(Environment.java:783)

E/AndroidRuntime( 2092): at android.os.Environment.getExternalStorageDirectory(Environment.java:384)

E/AndroidRuntime( 2092): at miui.os.Environment.<clinit>(SourceFile:31)

E/AndroidRuntime( 2092): at com.android.server.pm.PreinstallApp.<clinit>(PreinstallApp.java:43)

E/AndroidRuntime( 2092): at com.android.server.pm.PackageManagerServiceInjector.performPreinstallApp(PackageManagerServiceInjector.java:397)

E/AndroidRuntime( 2092): at com.android.server.pm.MiuiPackageManagerService.performPreinstallApp(MiuiPackageManagerService.java:50)

E/AndroidRuntime( 2092): at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:1395)

E/AndroidRuntime( 2092): at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:1051)

E/AndroidRuntime( 2092): at com.android.server.ServerThread.initAndLoop(SystemServer.java:253)

E/AndroidRuntime( 2092): at com.android.server.SystemServer.main(SystemServer.java:1205)

E/AndroidRuntime( 2092): at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 2092): at java.lang.reflect.Method.invoke(Method.java:515)

E/AndroidRuntime( 2092): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:805)

E/AndroidRuntime( 2092): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:621)

E/AndroidRuntime( 2092): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 2092): Caused by: java.lang.Throwable

E/AndroidRuntime( 2092): ... 15 more

Full logcat here: https://drive.google.com/file/d/0Bxt51MAjKyi0NEs0UzFIV244TG8/view?usp=sharing

Thanks every help is apreciated