Skip to content

Instantly share code, notes, and snippets.

@AbhilashG97
AbhilashG97 / Issue #599 logcat
Created March 18, 2017 09:16
The logs for the app crash mentioned in issue #599.
03-18 14:43:43.754 2496-2496/? I/art: Late-enabling -Xcheck:jni
03-18 14:43:43.809 2496-2496/? W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-1/lib/arm
03-18 14:43:43.902 2496-2496/com.mifos.mifosxdroid I/InstantRun: Instant Run Runtime started. Android package is com.mifos.mifosxdroid, real application class is com.mifos.App.
03-18 14:43:44.594 2496-2496/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-1/lib/arm
03-18 14:43:48.276 2496-2496/com.mifos.mifosxdroid I/CrashlyticsCore: Initializing Crashlytics 2.3.15.167
03-18 14:43:48.329 2496-2601/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /system/framework/tcmclient.jar
03-18 14:43:49.084 2496-2629/com.mifos.mifosxdroid I/stetho: Listening on @stetho_com.mifos.mifosxdroid_devtools_remote
03-18 14:43:49.271 2496-2496/com.mifos.mifosxdroid W/Xposed: Package name for /data/data/com.mifos.mifosxdroid/files/instant-run/left/resources.ap_ had to be retrieved
@AbhilashG97
AbhilashG97 / Log for PR #629
Created March 28, 2017 13:04
These are the logs for the application after I made a suggeted change.
03-28 18:30:11.653 9455-9455/? I/art: Late-enabling -Xcheck:jni
03-28 18:30:11.804 9455-9455/? W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-1/lib/arm
03-28 18:30:11.975 9455-9455/com.mifos.mifosxdroid I/InstantRun: Instant Run Runtime started. Android package is com.mifos.mifosxdroid, real application class is com.mifos.App.
03-28 18:30:13.143 9455-9455/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-1/lib/arm
03-28 18:30:17.578 9455-9455/com.mifos.mifosxdroid I/CrashlyticsCore: Initializing Crashlytics 2.3.15.167
03-28 18:30:17.616 9455-9586/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /system/framework/tcmclient.jar
03-28 18:30:17.937 9455-9455/com.mifos.mifosxdroid W/art: Verification of void com.raizlabs.android.dbflow.config.MifosDatabaseMifos_Database.<init>(com.raizlabs.android.dbflow.config.DatabaseHolder) took 115.157ms
03-28 18:30:18.507 9455-9617/com.mifos.mifosxdroid I/stetho: Listening o
@AbhilashG97
AbhilashG97 / App crash in MifosXDroid
Created April 6, 2017 05:32
App crashes on leaving the amount to be disbursed in the disburse loan dialog fragment empty
04-06 10:57:52.192 5495-5495/? I/art: Late-enabling -Xcheck:jni
04-06 10:57:52.271 5495-5495/? W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-2/lib/arm
04-06 10:57:52.422 5495-5495/com.mifos.mifosxdroid I/InstantRun: Instant Run Runtime started. Android package is com.mifos.mifosxdroid, real application class is com.mifos.App.
04-06 10:57:53.216 5495-5495/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-2/lib/arm
04-06 10:57:55.923 5495-5502/com.mifos.mifosxdroid W/art: Suspending all threads took: 6.132ms
04-06 10:57:56.425 5495-5502/com.mifos.mifosxdroid W/art: Suspending all threads took: 7.489ms
04-06 10:57:56.967 5495-5495/com.mifos.mifosxdroid I/CrashlyticsCore: Initializing Crashlytics 2.3.15.167
04-06 10:57:57.036 5495-5583/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /system/framework/tcmclient.jar
04-06 10:57:57.815 5495-5595/com.mifos.mifosxdroid I/stetho: Listening on @stetho_com.mifos.mifos
@AbhilashG97
AbhilashG97 / MifosXDroid app crash #2
Created April 8, 2017 16:28
The app crashes due to an issue with the app permission.
04-08 21:54:26.481 11959-11959/? I/art: Late-enabling -Xcheck:jni
04-08 21:54:26.550 11959-11959/? W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-2/lib/arm
04-08 21:54:26.664 11959-11959/com.mifos.mifosxdroid I/InstantRun: Instant Run Runtime started. Android package is com.mifos.mifosxdroid, real application class is com.mifos.App.
04-08 21:54:27.536 11959-11959/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-2/lib/arm
04-08 21:54:28.145 11959-11966/com.mifos.mifosxdroid W/art: Suspending all threads took: 9.441ms
04-08 21:54:30.642 11959-11966/com.mifos.mifosxdroid W/art: Suspending all threads took: 6.125ms
04-08 21:54:31.416 11959-11959/com.mifos.mifosxdroid I/CrashlyticsCore: Initializing Crashlytics 2.3.15.167
04-08 21:54:31.484 11959-12063/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /system/framework/tcmclient.jar
04-08 21:54:31.756 11959-11959/com.mifos.mifosxdroid W/art: Verification of void
@AbhilashG97
AbhilashG97 / On granting location permission
Last active April 8, 2017 16:31
The MifosXDroid app crashes on grating it storage permission after denying it the storage permission.
04-08 21:54:26.481 11959-11959/? I/art: Late-enabling -Xcheck:jni
04-08 21:54:26.550 11959-11959/? W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-2/lib/arm
04-08 21:54:26.664 11959-11959/com.mifos.mifosxdroid I/InstantRun: Instant Run Runtime started. Android package is com.mifos.mifosxdroid, real application class is com.mifos.App.
04-08 21:54:27.536 11959-11959/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /data/app/com.mifos.mifosxdroid-2/lib/arm
04-08 21:54:28.145 11959-11966/com.mifos.mifosxdroid W/art: Suspending all threads took: 9.441ms
04-08 21:54:30.642 11959-11966/com.mifos.mifosxdroid W/art: Suspending all threads took: 6.125ms
04-08 21:54:31.416 11959-11959/com.mifos.mifosxdroid I/CrashlyticsCore: Initializing Crashlytics 2.3.15.167
04-08 21:54:31.484 11959-12063/com.mifos.mifosxdroid W/System: ClassLoader referenced unknown path: /system/framework/tcmclient.jar
04-08 21:54:31.756 11959-11959/com.mifos.mifosxdroid W/art: Verification of void
@AbhilashG97
AbhilashG97 / android-client-678 issue
Created April 28, 2017 16:13
Logs for the error.
04-28 21:38:25.610 18132-21038/com.mifos.mifosxdroid D/OkHttp: --> POST https://demo.openmf.org/fineract-provider/api/v1/clients http/1.1
04-28 21:38:25.610 18132-21038/com.mifos.mifosxdroid D/OkHttp: Content-Type: application/json; charset=UTF-8
04-28 21:38:25.611 18132-21038/com.mifos.mifosxdroid D/OkHttp: Content-Length: 329
04-28 21:38:25.611 18132-21038/com.mifos.mifosxdroid D/OkHttp: {"activationDate":"19 Apr 2017","active":false,"address":[],"clientClassificationId":82,"clientTypeId":31,"datatables":[],"dateFormat":"dd MMMM YYYY","dateOfBirth":"23 Apr 1993","externalId":"vzhah172","firstname":"hshajakkaj","genderId":22,"lastname":"zgzhahaj","locale":"en","middlename":"gzvhhahzbz","officeId":1,"staffId":81}
04-28 21:38:25.611 18132-21038/com.mifos.mifosxdroid D/OkHttp: --> END POST (329-byte body)
04-28 21:38:27.553 18132-21038/com.mifos.mifosxdroid D/OkHttp: <-- 400 Bad Request https://demo.openmf.org/fineract-provider/api/v1/clients (1942ms)
04-28 21:38:27.553 18132-21038/com.mifos.mifosxdroid D/OkHtt
@AbhilashG97
AbhilashG97 / Object Oriented Programming Lab Exam Question Pattern
Created August 24, 2017 10:58
Object Oriented Programming Lab Exam Question Pattern
ॐ नमः शिवाय॥
There is no particular syllabus for Java Lab Test. The question will have a description, if necessary with example, a sample input and sample output. You are expected in input exact sample input (which will be tested later with other standard test inputs) and get the exact sample output. You are permitted to use course materials and API available on-line for your reference. Code copying is strictly prohibited. Both the students (or group of students) will get negative marks for malpractice. Your code will be automatically tested by a in-house software for validity. There is no submission for completed students. The students who are not able to complete only need to submit in AUMS towards the end of exam.
As an example:
Question:
Write a Java program to add two numbers.
Sample Input:
@AbhilashG97
AbhilashG97 / Student.java
Created October 14, 2017 15:42
Writing an object to a file
import java.io.*;
public class Student implements Serializable{
private String name, branch;
private int rollNumber;
public Student(){
// Default
}
@AbhilashG97
AbhilashG97 / Histogram.java
Created November 3, 2017 15:54
Java Question
/* Abhilash G
* AM.EN.U4CSE16002
* CSE A
**/
import java.io.*;
import java.util.*;
public class Histogram {
@AbhilashG97
AbhilashG97 / logs
Created November 29, 2017 12:18
The following error message is diplayed on entering the make command
cc -g -O2 -Wall -llz4 lz4jsoncat.c -o lz4jsoncat
/tmp/ccgXLBQ7.o: In function `main':
/home/abhilashg/Downloads/lz4json/lz4jsoncat.c:70: undefined reference to `LZ4_decompress_safe_partial'
collect2: error: ld returned 1 exit status
<builtin>: recipe for target 'lz4jsoncat' failed
make: *** [lz4jsoncat] Error 1