Jcifs with android studio - Android Studio

Hello everyone, i want to connect file shared on my windows
I make app android to view file on any windows by share file
but i have a problem
please help me!
this is my code:
NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication("","wd","admin123");
String path = "smb://10.10.120.195/Share/a.txt";
try {
SmbFile file = new SmbFile(path, auth);
file.connect();
}
catch(Exception e)
{
}
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ problem
D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.admin.myapplication, PID: 12663
java.lang.ExceptionInInitializerError
at jcifs.netbios.NbtAddress.getWINSAddress(NbtAddress.java:533)
at jcifs.UniAddress.<clinit>(UniAddress.java:62)
at jcifs.smb.SmbFile.getFirstAddress(SmbFile.java:922)
at jcifs.smb.SmbFile.connect(SmbFile.java:1012)
at com.example.admin.myapplication.MainActivity.onCreate(MainActivity.java:31)
at android.app.Activity.performCreate(Activity.java:6309)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2519)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2654)
at android.app.ActivityThread.-wrap11(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1488)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:5728)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
Caused by: android.os.NetworkOnMainThreadException
at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1288)
at java.net.InetAddress.lookupHostByName(InetAddress.java:432)
at java.net.InetAddress.getLocalHost(InetAddress.java:410)
at jcifs.netbios.NbtAddress.<clinit>(NbtAddress.java:187)
at jcifs.netbios.NbtAddress.getWINSAddress(NbtAddress.java:533)*
at jcifs.UniAddress.<clinit>(UniAddress.java:62)*
at jcifs.smb.SmbFile.getFirstAddress(SmbFile.java:922)*
at jcifs.smb.SmbFile.connect(SmbFile.java:1012)*
at com.example.admin.myapplication.MainActivity.onCreate(MainActivity.java:31)*
at android.app.Activity.performCreate(Activity.java:6309)*
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1113)*
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2519)*
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2654)*
at android.app.ActivityThread.-wrap11(ActivityThread.java)*
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1488)*
at android.os.Handler.dispatchMessage(Handler.java:111)*
at android.os.Looper.loop(Looper.java:207)*
at android.app.ActivityThread.main(ActivityThread.java:5728)*
at java.lang.reflect.Method.invoke(Native Method)*
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)*
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)*
I/System: FinalizerDaemon: finalize objects = 1
help me! please!

Reading through the error you will see that is is caused by Network on main thread exception.
In Android you are not allowed to do network calls on the main application thread. You need to use a separate AsyncTask. See this Stack Overflow thread.
http://stackoverflow.com/questions/6343166/how-to-fix-android-os-networkonmainthreadexception

Related

pdf-viewer app in donut builds

I am not a copyright lawyer, so I don't know, if this question is allowed or not. If not: would some friendly mod delete my thread without being angry to me?
In some donut builds, the pdf-viewer is included:
http://db.androidspin.com/android_build_information.asp
I downloaded some of them but when I unzipped them, I could not find any pdf-viewer app nor lib. Where is this hidden and what do I have to backup, to run the viewer on other donut build?
Thanks for you help. I really like the donut builds like cyans, but without pdf, it sucks. I backed up my pdf-viewer from earlier cm-builds (before 4.1.99) but didn't get them to work.
Did you ever get an answer to this? As you said, the PDF reader I had installed for Cupcake doesn't work at all in the latest cyan ROM (here's the logcat):
Code:
I/ActivityManager( 138): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.htc.pdfreader/.ActPDFReader }
I/ActivityManager( 138): Start proc com.htc.pdfreader for activity com.htc.pdfreader/.ActPDFReader: pid=636 uid=10116 gids={1015}
I/ActivityThread( 636): Publishing provider com.htc.pdfreader.PdfSuggestionProvider: com.htc.pdfreader.PdfSuggestionProvider
D/dalvikvm( 636): Trying to load lib /system/lib/libpdfreader.so 0x438cf988
I/dalvikvm( 636): Unable to dlopen(/system/lib/libpdfreader.so): Cannot load library: reloc_library[1172]: 121 cannot locate 'FT_Get_Glyph'...
W/dalvikvm( 636): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Lcom/htc/pdfreader/JNIHost;.<clinit>
D/AndroidRuntime( 636): Shutting down VM
W/dalvikvm( 636): threadid=3: thread exiting with uncaught exception (group=0x4001e1c0)
E/AndroidRuntime( 636): Uncaught handler: thread main exiting due to uncaught exception
Looks like the problem is in libpdfreader.so not working with Donut.
no, I never got an answer. But I found that quickoffice worked well. Just do a search for eclair or android 2.0 here ... there are some threads where you can download and adb push quickoffice.
Hope this helps.
I tried moving a pdfreader.apk and a libpdfreader.so from a cupcake build to the latest cyanogen rom and it didn't work well :/ I got the app to install after i signed it but it force closes when I try to open it. Does anyone have a good non-wares pdf viewer that works on donut?.. Or found a way to have the htc pdfviewer to work?

[Q] Magpie for CM7 missing CMParts.... Help

Just flashe (and re-flashed just in case) update-cm-7-20111030-Magpie-DS-signed by "Firerat" from his dropbox, go to select CyanogenMod Settings under Setting and get "com.android setting" FCs....
Logcat shown the follong......
11-06 10:10:06.700 I/ActivityManager(248)Starting: Intent { act=android.intent.action.MAIN cmp=com.cyanogenmod.cmparts/.activities.MainActivity } from pid 6687
11-06 10:10:06.710 D/AndroidRuntime(6687)Shutting down VM
11-06 10:10:06.730 W/dalvikvm(6687)threadid=1: thread exiting with uncaught exception (group=0x401a8560)
11-06 10:10:06.750 E/AndroidRuntime(6687)FATAL EXCEPTION: main
11-06 10:10:06.750 E/AndroidRuntime(6687)android.content.ActivityNotFoundException: Unable to find explicit activity class {com.cyanogenmod.cmparts/com.cyanogenmod.cmparts.activities.MainActivity}; have you declared this activity in your AndroidManifest.xml?
any help appriciated
thaks in advance
Tim

[ROM] [UNOFFICIAL] [4.4.4] [RC] SlimKat [tomato] [2015-01-20]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
SlimRoms is a custom android operating system. The main goal is to offer users a slimmed down but still feature rich alternative to other android operating systems.
The entire SlimTeam work together to bring you this tailor-made beauty straight from Android Open Source Project (AOSP) source code.
All of the sources can be publicly viewed through GitHub and you can stop by the public Gerrit to submit patches of any type.
SlimKat is the project name for SlimRoms based on Android 4.4 and offers the following original features:
​
The Real Dark Slim
Full system-wide dark interfaces. - If you like it smooth and classy.
Custom Shortcuts. Everywhere.
Hardware keys, Navigation Ring, Navigation Bar, Lockscreen, Tiles, Notifications etc. - We've got you covered.
System-Wide Keyboard Controls
Rotation, cursor control, optional emoticions, etc. - You'll be tapping away to your heart's content.
SlimCenter
Downloads, contact information, system app removal. - More fun than you can shake a stick at.
Camera Features
Trueview, Smart Capture. - Capture life moments with ease
.​
Check out the full feature list here​
WHAT IS WORKING?
WiFi
Bluetooth
RIL (single sim support only)
Sensors
GPS
Camera
Leds
Buttons
Audio
Video
Camcorder
WHAT IS NOT WORKING?
Nothing .....!! Or you tell me.....!!!
Installation Instructions
Download the latest build
Wipe data / Factory reset
Wipe cache
Wipe dalvik cache
Flash it using ClockworkMod recovery or TWRP
Flash Gapps
Flash Addons
Reboot
Enjoy
DOWNLOADS
Unofficial Builds
Slim Gapps​
SOURCES:https://github.com/YU-YUREKA
Disclaimer: SlimRoms are not responsible for any damages to your device.
XDA:DevDB Information
Slimkat for Yureka, ROM for the YU Yureka
Contributors
sooorajjj, @sufoalmighty [For mirror links -available in 3rd post] , @Santhosh M and @faux123 [ for awesome kernel patches ] , Official CM team and Slim team
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.1.x
ROM Firmware Required: Yureka
Based On: AOSP
Version Information
Status: Stable
Current Stable Version: 1
Stable Release Date: 2015-01-20
Created 2015-01-17
Last Updated 2015-01-20
NOTE: this is not stable for daily use
i do not recommend any one to flash this
this is just initial test build
EDIT : Stable for daily use
Thanks to @Santhosh M @faux123 for kernel commits : this is his kernel thread please support him and thank him here
SCREENSHOTS​
CHANGELOG​*"UNOFFICIAL-BUILD-1"
Initial TRY(to get slimkat - booting )
Fixed battery capacity bug
*"UNOFFICIAL-BUILD-2"
fix up boot.img and permissions
Audio bug is caused bcs of missing hal libs - still no fix........ trying
DT2W patches failed to compile will fix in next build
*"UNOFFICIAL-BUILD-3" -Mirror --Mirror2
fixed audio
fixed video
fixed Camcorder
*"UNOFFICIAL-BUILD-4" -Mirror --Mirror2
Build with custom toolchain linario linaro-4.9-14.06
And lots of kernel patches
Thanks, Flashing!
EDIT: tested, so smooth camera isnt as good as stock, sim 2 doesnt work at all
Great work mate! :good:
1st rom for YU thanks bro.
sufoalmighty said:
Thanks, Flashing!
EDIT: tested, so smooth camera isnt as good as stock, sim 2 doesnt work at all
Click to expand...
Click to collapse
thanks for testing
TheStrix said:
Great work mate! :good:
Click to expand...
Click to collapse
Samuel117 said:
1st rom for YU thanks bro.
Click to expand...
Click to collapse
thanks guys for support
@DooMLoRD @championswimmer
please take a look at these logs
audio hal issue - i think its because the audio effects and much more implementations by cm
http://paste.ubuntu.com/9770340/
http://paste.ubuntu.com/9770344/
http://paste.ubuntu.com/9763980/
Code:
I/MediaFocusControl( 827): AudioFocus requestAudioFocus() from [email protected]
V/Avrcp ( 2319): New genId = 9, clearing = 1
E/EffectProxy( 248): EffectCreate() could not get the sub effects
W/EffectsFactory( 248): EffectCreate() library proxy: could not create fx Qualcomm Bass Boost, error -22
E/AudioEffect( 4710): set(): AudioFlinger could not create effect, status: -22
E/AudioEffects-JNI( 4710): AudioEffect initCheck failed -4
E/AudioEffect-JAVA( 4710): Error code -4 when initializing AudioEffect.
D/AndroidRuntime( 4710): Shutting down VM
E/AndroidRuntime( 4710): FATAL EXCEPTION: main
E/AndroidRuntime( 4710): Process: com.android.gallery3d, PID: 4710
E/AndroidRuntime( 4710): java.lang.RuntimeException: Unable to resume activity {com.android.gallery3d/com.android.gallery3d.app.MovieActivity}: java.lang.IllegalArgumentException: Effect type: 0634f220-ddd4-11db-a0fc-0002a5d5c51b not supported.
E/AndroidRuntime( 4710): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2777)
E/AndroidRuntime( 4710): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2806)
E/AndroidRuntime( 4710): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2241)
E/AndroidRuntime( 4710): at android.app.ActivityThread.access$800(ActivityThread.java:138)
E/AndroidRuntime( 4710): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
E/AndroidRuntime( 4710): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4710): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 4710): at android.app.ActivityThread.main(ActivityThread.java:5034)
E/AndroidRuntime( 4710): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 4710): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 4710): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
E/AndroidRuntime( 4710): Caused by: java.lang.IllegalArgumentException: Effect type: 0634f220-ddd4-11db-a0fc-0002a5d5c51b not supported.
E/AndroidRuntime( 4710): at android.media.audiofx.AudioEffect.<init>(AudioEffect.java:405)
E/AndroidRuntime( 4710): at android.media.audiofx.BassBoost.<init>(BassBoost.java:101)
E/AndroidRuntime( 4710): at com.android.gallery3d.app.MovieActivity.initEffects(MovieActivity.java:393)
E/AndroidRuntime( 4710): at com.android.gallery3d.app.MovieActivity.onResume(MovieActivity.java:504)
E/AndroidRuntime( 4710): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1192)
E/AndroidRuntime( 4710): at android.app.Activity.performResume(Activity.java:5320)
E/AndroidRuntime( 4710): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2767)
E/AndroidRuntime( 4710): ... 10 more
W/ActivityManager( 827): Force finishing activity com.android.gallery3d/.app.MovieActivity
W/ActivityManager( 827): Force finishing activity com.android.gallery3d/.app.GalleryActivity
W/ActivityManager( 827): Activity pause timeout for ActivityRecord{6504dd28 u0 com.android.gallery3d/.app.MovieActivity t8 f}
I/Timeline( 2051): Timeline: Activity_idle id: [email protected] time:835130
I/Timeline( 827): Timeline: Activity_windows_visible id: ActivityRecord{64ffaa90 u0 com.slim.slimlauncher/.Launcher t1} time:835454
I/MSM-irqbalance( 239): Decided to move IRQ130 from CPU5 to CPU6
W/ActivityManager( 827): Activity destroy timeout for ActivityRecord{6534bac0 u0 com.android.gallery3d/.app.GalleryActivity t8 f}
W/ActivityManager( 827): Activity destroy timeout for ActivityRecord{6504dd28 u0 com.android.gallery3d/.app.MovieActivity t8 f}
I/MSM-irqbalance( 239): Decided to move IRQ131 from CPU5 to CPU6
Code:
D/AudioPolicyManagerBase( 248): getOutput() device 2, stream 1, samplingRate 0, format 0, channelMask 3, flags 0
D/AudioPolicyManagerBase( 248): getOutput() returns output 2
D/AudioPolicyManagerBase( 248): getOutput() device 2, stream 1, samplingRate 0, format 0, channelMask 3, flags 0
D/AudioPolicyManagerBase( 248): getOutput() returns output 2
D/AudioPolicyManagerBase( 248): getOutput() device 2, stream 1, samplingRate 48000, format 1, channelMask 3, flags 4
D/AudioPolicyManagerBase( 248): getOutput() returns output 3
W/AudioTrack( 827): AUDIO_OUTPUT_FLAG_FAST denied by client due to mismatching sample rate (48000 vs 44100)
D/AudioFlinger( 248): start(4099), calling pid 827 session 52
D/AudioFlinger( 248): ? => ACTIVE (4099) on thread 0xb87083f0
I/QCOM PowerHAL( 248): Processing audio hint. Metadata: state=1
D/AudioPolicyManagerBase( 248): startOutput() output 3, stream 1, session 52
I/ActivityManager( 827): START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 1892
D/SubSettings( 1892): Launching fragment com.android.settings.deviceinfo.Memory
here is the vendor blobs iam using
https://github.com/YU-YUREKA/proprietary_vendor_yu
any kind of help is appreciated
thank you
sooraj
video cant be played ???
---------- Post added at 11:27 AM ---------- Previous post was at 11:24 AM ----------
can u give me link of stock rom
op updated new build is up for download
-------changes------
*"UNOFFICIAL-BUILD-2"
fix up boot.img and permissions
Audio bug is caused bcs of missing hal libs - still no fix........ trying
DT2W patches failed to compile will fix in next build
Kanth's said:
video cant be played ???
---------- Post added at 11:27 AM ---------- Previous post was at 11:24 AM ----------
can u give me link of stock rom
Click to expand...
Click to collapse
yes video can be played but not in gallery youtube wrks
and sorry i dont have link to stok rom
I would recommend this to move to android development
vishal_android freak said:
I would recommend this to move to android development
Click to expand...
Click to collapse
But why .?...!!! its completely a build from source and i have met all GPL requirements
sooorajjj
Thanks for the update version 3 for stable release
ela1103 said:
sooorajjj
Thanks for the update version 3 for stable release
Click to expand...
Click to collapse
you are welcome
the build will be up soon .....!
uploading on slow connection
sooorajjj
use the mediafire site to upload and download .because the speed is stable
ela1103 said:
sooorajjj
use the mediafire site to upload and download .because the speed is stable
Click to expand...
Click to collapse
sorry i cant use mediafire ........ but maybe someone can mirror the links
BUILD is UP
Is it possible to port it to coolpad f2 or install this one on this smartphone?
albin88 said:
Is it possible to port it to coolpad f2 or install this one on this smartphone?
Click to expand...
Click to collapse
Do not install this build directly to coolpad f2
you need to replace boot.img so yes porting is posssible
Just replace boot.img or something more? Could you port it or this is not so simple?
albin88 said:
Just replace boot.img or something more? Could you port it or this is not so simple?
Click to expand...
Click to collapse
do you have recovery installed to flash this on your coolpad f2 ?
if yes then make a backup and try try flashing the rom as it is if it doesn’t boot dont worry it wont brick your device .....! just go back to recovery and restore your backup ............ try this then report ....

Plugin Error: NoClassDefFoundError: javafx/embed/swing/JFXPanel

Hi,
I developed a plugin by using IntelliJ IDEA, and once I install it in Android Studio and I try to run it, it gives me the following error:
Code:
17:46 Plugin Error: TaskAnnotationPlugin threw an uncaught NoClassDefFoundError. Disable Plugin
17:46 NoClassDefFoundError: javafx/embed/swing/JFXPanel
Do you know how can I fix it, please??? Thank you!!
The details of the error are:
Code:
javafx/embed/swing/JFXPanel
java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
at main.PluginAction.actionPerformed(PluginAction.java:14)
at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:197)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransactionAndWait(TransactionGuardImpl.java:156)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:211)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$2(ActionMenuItem.java:304)
at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:905)
at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:284)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:112)
at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88)
at com.intellij.openapi.application.TransactionGuardImpl.access$300(TransactionGuardImpl.java:40)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:113)
at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:123)
at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:109)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:112)
at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:513)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:45)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:533)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:795)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:627)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:387)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel PluginClassLoader[TaskAnnotationPlugin, 1.0]
at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 54 more

Crashing Facebook app

java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: The current thread must have a looper!
at com.google.common.base.Throwables.propagate181357)
at X.0Jt.O49634)
at X.0NP.run57055)
at java.lang.Thread.run(Thread.java:760)
Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: The current thread must have a looper!
at java.util.concurrent.FutureTask.report(FutureTask.java:94)
at java.util.concurrent.FutureTask.get(FutureTask.java:164)
at X.0Jt.O49623)
... 2 more
Caused by: java.lang.IllegalStateException: The current thread must have a looper!
at android.view.Choreographer$1.initialValue(Choreographer.java:103)
at android.view.Choreographer$1.initialValue(Choreographer.java:100)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:160)
at java.lang.ThreadLocal.get(ThreadLocal.java:150)
at android.view.Choreographer.getInstance(Choreographer.java:233)
at com.facebook.ui.choreographer.DefaultChoreographerWrapper_API16.<init>360048)
at com.facebook.ui.choreographer.DefaultChoreographerWrapper_API16.B360051)
at X.22g.B()
at X.0H4.B()
at X.0K8.A50149)
at X.0K9.get50159)
at X.1d4.C359623)
at X.1d4.B359618)
at X.1d2.B359589)
at X.HFO.<init>2266615)
at X.HFR.<init>2266636)
at X.HFR.B2266643)
at X.2J6.<init>510120)
at X.2J6.C510138)
at X.2J6.B510127)
at X.ME3.B2860601)
at X.OYQ.B()
at X.0H4.B()
at X.0K6.A50118)
at X.0K7.get50136)
at X.NVg.initialize2991449)
at X.0Ve.init79295)
at X.0Jr.A49323)
at X.0Ob.run60876)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at X.0OF.run59866)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at X.0Km.run51485)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at X.0OR.run60522)
... 1 more
It happens only in Facebook app
Does anybody has to handle without this? And od course found solutions?
I've the same problem, and the same callstack log as yours. I'm using a Oneplus 3 device with Android 8.0.0
It seems to happen with the latest faccebook update, but I've no idea why it crashes...

Categories

Resources