question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android error - Table has no column named

See original GitHub issue

Hi, i`m having a problem that only occours on some android devices. On most devices this problem doesnt occour.

I create this class:

captura de tela 2017-12-22 as 18 45 27

i save the object here:

captura de tela 2017-12-22 as 18 46 10

but on some devices, i get this error:

Fatal Exception: android.database.sqlite.SQLiteException
table PROFILE has no column named TYPE (code 1): , while compiling: INSERT OR REPLACE INTO PROFILE(EMAIL,AVATAR_KEY,PHONE,TYPE,ID,NAME,PROFILE_USER,PASSWORD,AVATAR_URL,PASSWORD_TEXT,GUID,AREA_GUID,DETAILED_POSITION,CHAT_ENABLE,COMPANY,POSITION_GUID) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)

Can anybody help me please? Thanks.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
dmaia17commented, Dec 8, 2018

hi,

Yes, the problem was the db number version on manifest.xml

Em sáb, 8 de dez de 2018 05:46, ducvdps06156 <notifications@github.com escreveu:

can you give me the solution for this TT i’m have the same problem

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chennaione/sugar/issues/778#issuecomment-445440020, or mute the thread https://github.com/notifications/unsubscribe-auth/AYWKnn_WSrL2RNuQWruY9_WFcurtCezuks5u225wgaJpZM4RLbfi .

0reactions
ducvdps06156commented, Dec 8, 2018

Thanks you very much man

Vào 16:06, Th 7, ngày 08 tháng 12 năm 2018 dmaia17 <notifications@github.com đã viết:

hi,

Yes, the problem was the db number version on manifest.xml

Em sáb, 8 de dez de 2018 05:46, ducvdps06156 <notifications@github.com escreveu:

can you give me the solution for this TT i’m have the same problem

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chennaione/sugar/issues/778#issuecomment-445440020, or mute the thread < https://github.com/notifications/unsubscribe-auth/AYWKnn_WSrL2RNuQWruY9_WFcurtCezuks5u225wgaJpZM4RLbfi

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/chennaione/sugar/issues/778#issuecomment-445444407, or mute the thread https://github.com/notifications/unsubscribe-auth/AdTDc-ZGlmvS_1BzzCcioTzBpf-rTBCkks5u24EogaJpZM4RLbfi .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android SQLite issue - table ... has no column named
1) Unistall from your device and run it again. OR · 2) Setting -> app -> ClearData. OR · 3) Change DATABASE_NAME in...
Read more >
How do I resolve this error no column named number exists in ...
android.database.sqlite.SQLiteException: table RejectList has no column named Number (code 1): , while compiling: INSERT INTO RejectList(Number) ...
Read more >
Android SQLite issue - table ... has no column named - YouTube
Android : Android SQLite issue - table ... has no column named [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] Android ...
Read more >
Error "table users has no column named has_invite" when ...
This is due to missing column data in the /home/<user>/.subaccounts/storage.sqlite database. Below is how this can be corrected. Workaround.
Read more >
table players_table has no column named playerLastName
Android Studio seems to highlight SQL syntax now, so I'm fairly confident that it's not a syntax error, so where have i gone...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found