Skip to content

Instantly share code, notes, and snippets.

View fernandocamargoai's full-sized avatar

Fernando Camargo fernandocamargoai

View GitHub Profile
package com.meubilhete.model.dao.loader;
import android.content.Context;
import android.os.Handler;
import android.support.v4.content.AsyncTaskLoader;
import android.util.Log;
import com.couchbase.lite.CouchbaseLiteException;
import com.couchbase.lite.LiveQuery;
import com.couchbase.lite.QueryEnumerator;
@fernandocamargoai
fernandocamargoai / exception.log
Created April 24, 2014 14:55
java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.meubilhete.debug/files/meu-bilhete.cblite
04-17 11:52:35.874 18303-18303/com.meubilhete.debug W/com.meubilhete.model.dao.EventoDao$1﹕ new()
04-17 11:52:35.874 18303-18303/com.meubilhete.debug W/com.meubilhete.model.dao.EventoDao$1﹕ onStartLoading()
04-17 11:52:35.874 18303-18303/com.meubilhete.debug W/com.meubilhete.model.dao.EventoDao$1﹕ onStartLoading() - forceLoad()
04-17 11:52:35.874 18303-18303/com.meubilhete.debug W/MeusEventosFragment﹕ onStart()
04-17 11:52:35.874 18303-18303/com.meubilhete.debug D/DrawerActivity﹕ Evento lançado: FragmentVisivelEvent
04-17 11:52:35.874 18303-18303/com.meubilhete.debug D/DrawerActivity﹕ Evento lançado: FragmentVisivelEvent
04-17 11:52:35.884 18303-19047/com.meubilhete.debug W/com.meubilhete.model.dao.EventoDao$1﹕ loadInBackground()
04-17 11:52:35.884 18303-19047/com.meubilhete.debug D/Database﹕ com.couchbase.lite.LiveQuery@43c53648: start() called
04-17 11:52:35.884 18303-18303/com.meubilhete.debug W/MeusEventosFragment﹕ onResume()
04-17 11:52:35.884 18303-19047/com.meubilhete.debug D/Database﹕ com.co
@fernandocamargoai
fernandocamargoai / complete.log
Created April 24, 2014 18:34
java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.meubilhete/files/meu-bilhete.cblite
04-24 15:18:38.829 22378-22378/com.meubilhete D/DrawerActivity﹕ Evento lançado: MenuSelecionadoEvent.
04-24 15:18:38.829 22378-22378/com.meubilhete D/DrawerActivity﹕ Evento lançado: MenuSelecionadoEvent.
04-24 15:18:38.829 22378-22378/com.meubilhete D//SpiceManager.java:212﹕ 15:18:38.839 main SpiceManager started.
04-24 15:18:38.829 22378-22378/com.meubilhete D/GerenciarEntradaFragment﹕ onAttach()
04-24 15:18:38.839 22378-22378/com.meubilhete D/GerenciarEntradaFragment﹕ onActivityCreated()
04-24 15:18:38.839 22378-22378/com.meubilhete D/GerenciarEntradaFragment﹕ onStart()
04-24 15:18:38.839 22378-22378/com.meubilhete D/DrawerActivity﹕ Evento lançado: FragmentVisivelEvent.
04-24 15:18:38.839 22378-22378/com.meubilhete D/DrawerActivity﹕ Evento lançado: FragmentVisivelEvent.
04-24 15:18:38.839 22378-22378/com.meubilhete D/DrawerActivity﹕ Evento lançado: RequisitouSelecaoDeMenuEvent.
04-24 15:18:38.839 22378-22378/com.meubilhete D/DrawerActivity﹕ Evento lançado: RequisitouSelecaoDeMenuEvent.
@fernandocamargoai
fernandocamargoai / complete.log
Created April 25, 2014 13:24
java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.meubilhete/files/meu-bilhete.cblite
04-25 10:16:54.628 5659-5659/com.meubilhete D/DrawerActivity﹕ Mudando conteúdo: GerenciarEntradaFragment.
04-25 10:16:54.638 5659-5659/com.meubilhete D/DrawerActivity﹕ Mudando conteúdo: GerenciarEntradaFragment.
04-25 10:16:54.638 5659-5659/com.meubilhete D/DrawerActivity﹕ Evento lançado: MenuSelecionadoEvent.
04-25 10:16:54.638 5659-5659/com.meubilhete D/DrawerActivity﹕ Evento lançado: MenuSelecionadoEvent.
04-25 10:16:54.638 5659-5659/com.meubilhete D//SpiceManager.java:212﹕ 10:16:54.644 main SpiceManager started.
04-25 10:16:54.638 5659-5659/com.meubilhete D/GerenciarEntradaFragment﹕ onAttach()
04-25 10:16:54.648 5659-5659/com.meubilhete D/GerenciarEntradaFragment﹕ onActivityCreated()
04-25 10:16:54.648 5659-5659/com.meubilhete D/GerenciarEntradaFragment﹕ onStart()
04-25 10:16:54.648 5659-5659/com.meubilhete D/DrawerActivity﹕ Evento lançado: FragmentVisivelEvent.
04-25 10:16:54.648 5659-5659/com.meubilhete D/DrawerActivity﹕ Evento lançado: FragmentVisivelEvent.
@fernandocamargoai
fernandocamargoai / complete.log
Created April 25, 2014 14:51
java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteDatabase: /data/data/com.meubilhete/files/meu-bilhete.cblite
This file has been truncated, but you can view the full file.
D//SpiceManager.java:281(27384): 11:33:42.752 SpiceManagerThread 0 Sending request to service : CachedSpiceRequest
D//RequestProcessor.java:66(27384): 11:33:42.755 SpiceManagerThread 0 Adding request to queue 1134231048: CachedSpiceRequest [requestCacheKey=ClientRequest, cacheDuration=0, spiceRequest=com.meubilhete.service.rest.request.ClientRequest@439dee30] size is 0
D//RequestProcessor.java:85(27384): 11:33:42.756 SpiceManagerThread 0 Adding entry for type class com.meubilhete.model.rest.Client and cacheKey ClientRequest.
D//RequestProgressManager.java:61(27384): 11:33:42.758 SpiceManagerThread 0 Request was added to queue.
D//SpiceServiceListenerNotifier.java:146(27384): 11:33:42.771 SpiceManagerThread 0 Message queue is Handler (android.os.Handler) {43ae2dd8}
D//SpiceServiceListenerNotifier.java:175(27384): 11:33:42.775 main Processing request added: CachedSpiceRequest [requestCacheKey=ClientRequest, cacheDuration=0, spiceRequest=com.meubilhete.service.rest.request.ClientRequest@439dee30]
E/AutenticadorF
@fernandocamargoai
fernandocamargoai / log.txt
Created April 30, 2014 18:21
SQLiteConnectionPool﹕ The connection pool for database [...] has been unable to grant a connection [...]
04-30 15:03:19.289 2312-6270/com.meubilhete D//SpiceServiceListenerNotifier.java:146﹕ 15:03:19.293 SpiceManagerThread 0 Message queue is Handler (android.os.Handler) {4435ade0}
04-30 15:03:19.289 2312-6270/com.meubilhete D//RequestProgressManager.java:82﹕ 15:03:19.297 SpiceManagerThread 0 Sending progress PENDING
04-30 15:03:19.289 2312-6270/com.meubilhete D//SpiceServiceListenerNotifier.java:146﹕ 15:03:19.299 SpiceManagerThread 0 Message queue is Handler (android.os.Handler) {4435ade0}
04-30 15:03:19.299 2312-2312/com.meubilhete D//SpiceServiceListenerNotifier.java:175﹕ 15:03:19.304 main Processing request added: CachedSpiceRequest [requestCacheKey=ClientRequest, cacheDuration=0, spiceRequest=com.meubilhete.service.rest.request.ClientRequest@43d602e0]
04-30 15:03:19.299 2312-2312/com.meubilhete V//DefaultRequestListenerNotifier.java:131﹕ 15:03:19.306 main Notifying 1 listeners of progress com.octo.android.robospice.request.listener.RequestProgress@43d60318
04-30 15:03:19.299 2312-6270/com.m
@fernandocamargoai
fernandocamargoai / TipoDeIngressoParaComissarioCard.java
Created June 16, 2014 13:20
TipoDeIngressoParaComissarioCard
package com.meubilhete.pontodevenda.ui.card;
import android.content.Context;
import android.content.res.Resources;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.*;
@fernandocamargoai
fernandocamargoai / card_tipo_de_ingresso_para_comissario.xml
Created June 16, 2014 13:21
card_tipo_de_ingresso_para_comissario
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
@fernandocamargoai
fernandocamargoai / TipoDeIngressoParaComissarioCard.java
Created June 16, 2014 13:29
TipoDeIngressoParaComissarioCard - Updated
package com.meubilhete.pontodevenda.ui.card;
import android.content.Context;
import android.content.res.Resources;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.*;
@fernandocamargoai
fernandocamargoai / fragment_comissarios.xml
Created June 16, 2014 18:35
fragment_comissarios.xml
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<include layout="@layout/progress_bar" />