Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8340973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:19:58+00:00 2026-06-09T05:19:58+00:00

Tested and it Works on a non android program but immediately crashes after initializing

  • 0

Tested and it Works on a non android program but immediately crashes after initializing on Android. Log cat isn’t producing any error messages either. I found this from CircularFifoBuffer.

Any obvious problems?

Edit: I do get this error message if I add in the jar files into the libs folder (not externally) and then add it to build path. This error isn’t present though, if I add the jar files externally.

[2012-08-05 20:56:03 – wifiCollection] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.commons.collections.SequencedHashMap$1) that doesn’t come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any “-target” type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is not an inner class.

Edit2:

08-05 21:12:48.837: I//system/bin/batteryd(1189): 1566474 v_bat 3.678 (3.677), i_supply 0.500, i_demand 0.282 => v_bat_idle 3.649 (3.649), level 41% (41%, 41%), state 5

08-05 21:12:50.837: I//system/bin/batteryd(1189): 1568477 v_bat 3.678 (3.677), i_supply 0.500, i_demand 0.282 => v_bat_idle 3.649 (3.649), level 41% (41%, 41%), state 5

08-05 21:12:51.267: I/ActivityManager(1291): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.jimmyc.summer.wificollection/.WiFiLocationApp bnds=[245,418][355,553] }

08-05 21:12:51.337: I/dalvikvm(1374): Jit: resizing JitTable from 4096 to 8192

08-05 21:12:51.353: I/ActivityManager(1291): Start proc com.jimmyc.summer.wificollection for activity com.jimmyc.summer.wificollection/.WiFiLocationApp: pid=1782 uid=10045 gids={1015}

08-05 21:12:51.634: D/dalvikvm(1782): GC_FOR_MALLOC freed 1571 objects / 198264 bytes in 56ms

08-05 21:12:51.751: V/LocationManagerService(1291): _removeUpdates: listener = Receiver{45a6e008 Listener android.os.BinderProxy@45a6e4b8}

08-05 21:12:51.774: V/Tagging(1782): Application starting

08-05 21:12:51.774: V/Tagging(1782): Checking for wifi

08-05 21:12:51.774: V/Tagging(1782): Creating new wifiMode

08-05 21:12:51.782: E/dalvikvm(1782): Could not find class ‘org.apache.commons.collections.buffer.CircularFifoBuffer’, referenced from method com.jimmyc.summer.wificollection.WiFiLocationApp$wifiMode.

08-05 21:12:51.782: W/dalvikvm(1782): VFY: unable to resolve new-instance 575 (Lorg/apache/commons/collections/buffer/CircularFifoBuffer;) in Lcom/jimmyc/summer/wificollection/WiFiLocationApp$wifiMode;

08-05 21:12:51.782: D/dalvikvm(1782): VFY: replacing opcode 0x22 at 0x0032

08-05 21:12:51.782: D/dalvikvm(1782): VFY: dead code 0x0034-0041 in Lcom/jimmyc/summer/wificollection/WiFiLocationApp$wifiMode;. (Lcom/jimmyc/summer/wificollection/WiFiLocationApp;)V

08-05 21:12:51.790: I/dalvikvm(1782): Could not find method org.apache.commons.collections.buffer.CircularFifoBuffer.isFull, referenced from method com.jimmyc.summer.wificollection.WiFiLocationApp$wifiMode.detectStableEnvironment

08-05 21:12:51.790: W/dalvikvm(1782): VFY: unable to resolve virtual method 3504: Lorg/apache/commons/collections/buffer/CircularFifoBuffer;.isFull ()Z

08-05 21:12:51.790: D/dalvikvm(1782): VFY: replacing opcode 0x74 at 0x0006

08-05 21:12:51.790: D/dalvikvm(1782): VFY: dead code 0x0009-0230 in Lcom/jimmyc/summer/wificollection/WiFiLocationApp$wifiMode;.detectStableEnvironment ()Z

08-05 21:12:51.790: I/dalvikvm(1782): Could not find method org.apache.commons.collections.buffer.CircularFifoBuffer.size, referenced from method com.jimmyc.summer.wificollection.WiFiLocationApp$wifiMode.match

08-05 21:12:51.790: W/dalvikvm(1782): VFY: unable to resolve virtual method 3506: Lorg/apache/commons/collections/buffer/CircularFifoBuffer;.size ()I

08-05 21:12:51.790: D/dalvikvm(1782): VFY: replacing opcode 0x74 at 0x000f

08-05 21:12:51.790: D/dalvikvm(1782): VFY: dead code 0x0012-0227 in Lcom/jimmyc/summer/wificollection/WiFiLocationApp$wifiMode;.match ()Z

08-05 21:12:51.790: I/dalvikvm(1782): Could not find method org.apache.commons.collections.buffer.CircularFifoBuffer.add, referenced from method com.jimmyc.summer.wificollection.WiFiLocationApp$wifiMode.processResults

08-05 21:12:51.790: W/dalvikvm(1782): VFY: unable to resolve virtual method 3502: Lorg/apache/commons/collections/buffer/CircularFifoBuffer;.add (Ljava/lang/Object;)Z

08-05 21:12:51.790: D/dalvikvm(1782): VFY: replacing opcode 0x6e at 0x0020

08-05 21:12:51.790: D/dalvikvm(1782): VFY: dead code 0x0023-0050 in Lcom/jimmyc/summer/wificollection/WiFiLocationApp$wifiMode;.processResults ()V

08-05 21:12:51.790: D/dalvikvm(1782): VFY: dead code 0x0074-00f0 in Lcom/jimmyc/summer/wificollection/WiFiLocationApp$wifiMode;.processResults ()V

08-05 21:12:51.798: W/dalvikvm(1782): VFY: unable to find class referenced in signature (Lorg/apache/commons/collections/buffer/CircularFifoBuffer;)

08-05 21:12:51.798: I/dalvikvm(1782): Could not find method org.apache.commons.collections.buffer.CircularFifoBuffer.iterator, referenced from method com.jimmyc.summer.wificollection.WiFiLocationApp$wifiMode.takeAverage

08-05 21:12:51.798: W/dalvikvm(1782): VFY: unable to resolve virtual method 3505: Lorg/apache/commons/collections/buffer/CircularFifoBuffer;.iterator ()Ljava/util/Iterator;

08-05 21:12:51.798: D/dalvikvm(1782): VFY: replacing opcode 0x74 at 0x001b

08-05 21:12:51.798: D/dalvikvm(1782): VFY: dead code 0x001e-0419 in Lcom/jimmyc/summer/wificollection/WiFiLocationApp$wifiMode;.takeAverage (Lorg/apache/commons/collections/buffer/CircularFifoBuffer;)Ljava/util/Map;

08-05 21:12:51.798: W/dalvikvm(1782): VFY: unable to find class referenced in signature (Lorg/apache/commons/collections/buffer/CircularFifoBuffer;)

08-05 21:12:51.798: V/Tagging(1782): Starting WiFi mode

08-05 21:12:51.798: D/AndroidRuntime(1782): Shutting down VM

08-05 21:12:51.806: W/dalvikvm(1782): threadid=1: thread exiting with uncaught exception (group=0x4001d8a8)

08-05 21:12:51.806: E/AndroidRuntime(1782): FATAL EXCEPTION: main

08-05 21:12:51.806: E/AndroidRuntime(1782): java.lang.NoClassDefFoundError: org.apache.commons.collections.buffer.CircularFifoBuffer

08-05 21:12:51.806: E/AndroidRuntime(1782): at com.jimmyc.summer.wificollection.WiFiLocationApp$wifiMode.(WiFiLocationApp.java:182)

08-05 21:12:51.806: E/AndroidRuntime(1782): at com.jimmyc.summer.wificollection.WiFiLocationApp.onResume(WiFiLocationApp.java:1272)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.app.Activity.performResume(Activity.java:3823)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3118)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3143)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2684)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.app.ActivityThread.access$2300(ActivityThread.java:125)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.os.Handler.dispatchMessage(Handler.java:99)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.os.Looper.loop(Looper.java:123)

08-05 21:12:51.806: E/AndroidRuntime(1782): at android.app.ActivityThread.main(ActivityThread.java:4627)

08-05 21:12:51.806: E/AndroidRuntime(1782): at java.lang.reflect.Method.invokeNative(Native Method)

08-05 21:12:51.806: E/AndroidRuntime(1782): at java.lang.reflect.Method.invoke(Method.java:521)

08-05 21:12:51.806: E/AndroidRuntime(1782): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

08-05 21:12:51.806: E/AndroidRuntime(1782): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)

08-05 21:12:51.806: E/AndroidRuntime(1782): at dalvik.system.NativeStart.main(Native Method)

08-05 21:12:51.814: W/ActivityManager(1291): Force finishing activity com.jimmyc.summer.wificollection/.WiFiLocationApp

08-05 21:12:52.009: D/dalvikvm(1291): GC_FOR_MALLOC freed 11331 objects / 567768 bytes in 76ms

08-05 21:12:52.314: W/ActivityManager(1291): Activity pause timeout for HistoryRecord{457131f0 com.jimmyc.summer.wificollection/.WiFiLocationApp}

08-05 21:12:52.314: D/Sensors(1291): using MMA7660FC Accelerometer (name=MMA7660FC Accelerometer)

08-05 21:12:52.321: D/Sensors(1291): get_orientation portait device

08-05 21:12:52.431: V/LocationManagerService(1291): _requestLocationUpdates: listener = Receiver{45711848 Listener android.os.BinderProxy@45a461c8}

08-05 21:12:52.840: I//system/bin/batteryd(1189): 1570480 v_bat 3.678 (3.677), i_supply 0.500, i_demand 0.282 => v_bat_idle 3.649 (3.649), level 41% (41%, 41%), state 5

public class test () {
    CircularFifoBuffer f1 = null;
    CircularFifoBuffer f2 = null;

    public test () {
        Log.v (TAG, "Starting...");
        try {
            f1 =  new CircularFifoBuffer(4);
            f2 = new CircularFifoBuffer(4);
        } catch (Exception e) {
            e.printStackTrace();
            Log.v (TAG, "Error: " +e);
        }
    }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T05:19:59+00:00Added an answer on June 9, 2026 at 5:19 am

    From the logcat output, it looks like the class is not being included in your apk:

    08-05 21:12:51.782: E/dalvikvm(1782): Could not find class 'org.apache.commons.collections.buffer.CircularFifoBuffer', referenced from method com.jimmyc.summer.wificollection.WiFiLocationApp$wifiMode.<init>
    

    Add would say your best bet would be to get the source, include it in your project and have it recompiled in your build environment.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tested each statement on its own and it works, but when I use
I had tested this code: http://support.microsoft.com/kb/316383 It works, but a Word application is opened
I have a regex tested in Expresso, works like a charm. But when I
Created .NET WCF service, tested it - works. Generated schemas from Data and service
does somebody tested - will authlogic works with oauth-plugin ( https://github.com/pelle/oauth-plugin ) or not?
This works and is tested. PHP Code: $data_stats = json_decode($ret); $projected_points = $data_stats->body->player_stats->42550689->FPTS I
I tested out the script below in jsfiddle and it works fine, can someone
I have tested this servlet and it works well, except in Google Chrome it
I know this particular query works, as I tested it with unprepared, procedural methods.
I recently created a WCF service that works fine when tested from Visual Studio

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.