NPE in history expiration when starting Fennec via intent

NEW
Unassigned

Status

()

Firefox for Android
General
6 years ago
6 years ago

People

(Reporter: rnewman, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
I/GeckoViewsFactory( 4655): Creating custom Gecko view: TabsPanel
I/GeckoViewsFactory( 4655): Creating custom Gecko view: TabsPanel$TabsPanelToolbar
D/GeckoViewsFactory( 4655): Warning: unknown custom view: TabsPanel$TabsPanelToolbar
I/GeckoViewsFactory( 4655): Creating custom Gecko view: TabsPanel$TabsListContainer
D/GeckoViewsFactory( 4655): Warning: unknown custom view: TabsPanel$TabsListContainer
D/OpenGLRenderer( 2458): Flushing caches (mode 2)
I/GeckoViewsFactory( 4655): Creating custom Gecko view: GeckoApp$MainLayout
I/GeckoViewsFactory( 4655): Creating custom Gecko view: gfx.LayerView
I/GeckoViewsFactory( 4655): Creating custom Gecko view: FormAssistPopup
I/GeckoViewsFactory( 4655): Creating custom Gecko view: TextSelectionHandle
I/GeckoViewsFactory( 4655): Creating custom Gecko view: TextSelectionHandle
I/GeckoViewsFactory( 4655): Creating custom Gecko view: TextSelectionHandle
I/GeckoViewsFactory( 4655): Creating custom Gecko view: AboutHomeContent
I/GeckoViewsFactory( 4655): Creating custom Gecko view: FindInPageBar
I/GeckoViewsFactory( 4655): Creating custom Gecko view: BrowserToolbarBackground
I/GeckoViewsFactory( 4655): Creating custom Gecko view: MenuButton
I/GeckoViewsFactory( 4655): Creating custom Gecko view: TabsButton
D/dalvikvm( 4655): GC_CONCURRENT freed 227K, 4% free 14262K/14727K, paused 11ms+2ms
I/dalvikvm( 4655): Could not find method android.widget.TextView.setImportantForAccessibility, referenced from method org.mozilla.gecko.BrowserToolbar.from
W/dalvikvm( 4655): VFY: unable to resolve virtual method 1254: Landroid/widget/TextView;.setImportantForAccessibility (I)V
D/dalvikvm( 4655): VFY: replacing opcode 0x6e at 0x003f
I/dalvikvm( 4655): Could not find method android.widget.TextSwitcher.setImportantForAccessibility, referenced from method org.mozilla.gecko.BrowserToolbar.from
W/dalvikvm( 4655): VFY: unable to resolve virtual method 1234: Landroid/widget/TextSwitcher;.setImportantForAccessibility (I)V
D/dalvikvm( 4655): VFY: replacing opcode 0x6e at 0x00a3
I/dalvikvm( 4655): Could not find method android.widget.ImageButton.setImportantForAccessibility, referenced from method org.mozilla.gecko.BrowserToolbar.from
W/dalvikvm( 4655): VFY: unable to resolve virtual method 1084: Landroid/widget/ImageButton;.setImportantForAccessibility (I)V
D/dalvikvm( 4655): VFY: replacing opcode 0x6e at 0x00fb
D/AbsListView( 4655): Get MotionRecognitionManager
D/dalvikvm( 4655): GC_CONCURRENT freed 95K, 3% free 14638K/14983K, paused 1ms+2ms
D/AbsListView( 4655): Get MotionRecognitionManager
I/dalvikvm( 4655): Could not find method android.view.accessibility.AccessibilityNodeInfo.obtain, referenced from method org.mozilla.gecko.GeckoAccessibility.sendAccessibilityEvent
D/dalvikvm( 4655): GC_CONCURRENT freed 29K, 2% free 15077K/15367K, paused 1ms+2ms
W/dalvikvm( 4655): VFY: unable to resolve static method 917: Landroid/view/accessibility/AccessibilityNodeInfo;.obtain (Landroid/view/View;I)Landroid/view/accessibility/AccessibilityNodeInfo;
D/dalvikvm( 4655): VFY: replacing opcode 0x71 at 0x0032
I/dalvikvm( 4655): Could not find method org.mozilla.gecko.gfx.LayerView.setImportantForAccessibility, referenced from method org.mozilla.gecko.GeckoAccessibility.setDelegate
W/dalvikvm( 4655): VFY: unable to resolve virtual method 9491: Lorg/mozilla/gecko/gfx/LayerView;.setImportantForAccessibility (I)V
D/dalvikvm( 4655): VFY: replacing opcode 0x6e at 0x000f
D/dalvikvm( 2109): GC_EXPLICIT freed 4946K, 23% free 33076K/42695K, paused 3ms+7ms
I/SurfaceFlinger( 1912): id=14(1) createSurface 0x1e75bfc (1x1),1 flag=0, App
W/dalvikvm( 4655): threadid=11: thread exiting with uncaught exception (group=0x40c561f8)
E/GeckoAppShell( 4655): >>> REPORTING UNCAUGHT EXCEPTION FROM THREAD 392 ("GeckoBackgroundThread")
E/GeckoAppShell( 4655): java.lang.NullPointerException
E/GeckoAppShell( 4655): 	at org.mozilla.gecko.db.BrowserDB.expireHistory(BrowserDB.java:134)
E/GeckoAppShell( 4655): 	at org.mozilla.gecko.GeckoApp$27.run(GeckoApp.java:2080)
E/GeckoAppShell( 4655): 	at android.os.Handler.handleCallback(Handler.java:605)
E/GeckoAppShell( 4655): 	at android.os.Handler.dispatchMessage(Handler.java:92)
E/GeckoAppShell( 4655): 	at android.os.Looper.loop(Looper.java:137)
E/GeckoAppShell( 4655): 	at org.mozilla.gecko.util.GeckoBackgroundThread.run(GeckoBackgroundThread.java:31)
F/libc    ( 4655): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
D/KeyguardViewMediator( 2109): setHidden false
D/libEGL  ( 4655): loaded /system/lib/egl/libEGL_mali.so
D/libEGL  ( 4655): loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL  ( 4655): loaded /system/lib/egl/libGLESv2_mali.so
D/        ( 4655): Device driver API match
D/        ( 4655): Device driver API version: 10
D/        ( 4655): User space API version: 10 
D/        ( 4655): mali: REVISION=Linux-r2p4-02rel0 BUILD_DATE=Fri May  4 10:32:42 KST 2012 


Which is:

    public static Cursor getBookmarksInFolder(ContentResolver cr, long folderId) {
        return sDb.getBookmarksInFolder(cr, folderId);
    }

Invoked like this:

  adb push ./$APP_NAME.xpi /sdcard/$APP_NAME.xpi
  adb shell am start -a android.intent.action.VIEW \
                     -c android.intent.category.DEFAULT \
                     -d file:///mnt/sdcard/$APP_NAME.xpi \
                     -n $ANDROID_APP_ID/.App
  echo "Pushed $APP_NAME.xpi to $ANDROID_APP_ID"
You need to log in before you can comment on or make changes to this bug.