Возникла ошибка illegalstateexception tivimate

Перейти к контенту

An error occurred: IllegalStateException

Using Fire Stick for TiviMate. Last watched on 5/18 and everything was fine. Today I got this: An error occurred: IllegalStateException is now on my screen. Is there anything that I can do, or am I just SOL?

Also, a few days ago I started getting Unsupported Browser Link popping up and popup ads when I watched. I used to have Version 1.1.8 and this didn’t happen until I updated to the latest version. Is there any way to remove them? I changed DNS settings and it worked for a day. (I’m a newbie and still learning, so please be kind).

  1. Anyone have meet Tivimate getting Msg » An Error Occurred: illegalstateexception» after update to lastest firmware 6.3.2_g, then how to solve this problem? PLS help…

    Attached Files:

  2. It is look like the developer do not care about iptv problem. They just care about playing function of hdd file playback. I am using astro go and other stand alone iptv app . On 6.1.15. all app is function as normal, while upgrade to 6.2.0 and other fw till 6.3.0, all iptv channel can’t play anymore, all become black screen. I roll back to 6.1.15. Just skip all future fw update. Then you will happy with this player. I am using z9x. DO NOT BUY THIS ANDROID MULTI MEDIA PLAYER FOR IPTV.

  3. That , I switch back to 6.1.15 , then ok to go. Seem like Zidoo are only for theater playback, not compatible for multimedia and Netflix no works at all. I buy this thought can go for best performance on HDR, DV or atmos but at last….:(

  4. I have Tivimate on my Zidoo Z9X with the new firmware and no problems.

  5. Hi Pateco. May i know what version of your Tivimate? Tq

  6. Hi, I have the last version 3.6.0

    Last edited: May 12, 2021

Share This Page

1 минуту назад, Geroy сказал:

Выше вам написали как настраивать, перечитайте ответы.

Ок, спасибо, просто я то не от себя придумываю а цитирую ответы из вашей же поддержки и мне крайне непросто сориентироваться где же истина.

2 минуты назад, Navigator сказал:

Вы не только медиатеку, вы и на каналы плейлист прописали с одного устройства в обе приставки, если речь идет о пакете  Премиум. И  с 20.19 до 20.31 запросы были с плейлиста 1 с двух каналов одновременно- Карусель и Кинохит HD.  Совет очень простой, я писал его выше. В приставку 2 прописать плейлист на каналы для устройства 2 и при настройке медиатеки добавить к логину _2 в конце, пароль прописывать без изменений ( в нем не должно быть на конце _2 )

Вот, теперь понятно, каналы- это я просто обновлял плейлисты, поэтому одинаково прописал, а в медиатеке- в руководстве об этом ни слова плюс меня дезинформировали что это вообще невозможно. Поправьте в описании настроек пожалуйста.

Я хочу спросить, почему это не работает, чтобы я мог лучше помочь себе в следующий раз. Как исправить ошибку IllegalStateException в студии Android. Я получаю эту ошибку, пока данные извлекаются из базы данных. Ошибка, которую я получаю, — это исключение недопустимого состояния, как описано ниже.

Неустранимое исключение: java.lang.IllegalStateException Не удалось прочитать строку 6023, столбец 0 из CursorWindow. Убедитесь, что Курсор правильно инициализирован, прежде чем обращаться к нему с данными. com.navdemo.ui.forms.FormDetailViewModel $ 10. выполнить

Код, в котором я получаю эту ошибку:

private void initScansForForm() {
        if (form == null) {
            return;
        }

        final String formId = form.getFormId();
        new Thread() {
            public void run() {
                List<Scan> scans = new ArrayList<>();
                Cursor c = db.fetchFormScans(formId);
                int id = 0;
                while (c.moveToNext()) {
                    if (!c.isNull(0)){
                        id = c.getInt(0);

                    }
                    else {
                        Log.d(TAG, "run: "+id);
                    }
                    int formId = c.getInt(1);
                    String scanTime = c.getString(2);
                    String locationName = c.getString(3);
                    double latitude = c.getDouble(4);
                    double longitude = c.getDouble(5);

                    scans.add(new Scan(id, formId, scanTime, locationName, latitude, longitude));
                }
                setScans(scans);
            }
        }.start();
    }
public Cursor fetchFormScans(@NonNull String formId) {
        return fetchFormScans(Integer.parseInt(formId));
    }


public Cursor fetchFormScans(@NonNull String formId) `enter code here`{
        return fetchFormScans(Integer.parseInt(formId));
 }

2 ответа

Попробуйте проверить это !cursor.isAfterLast(), прежде чем делать moveToNext


0

andrei
3 Сен 2019 в 14:39

Пожалуйста, убедитесь, что вы получаете число в виде String formId = form.getFormId (); Поскольку ваш метод fetchFormScans () анализирует строку formId до целого числа, это может быть проблематично, если ваш formId содержит в себе алфавиты.


0

Feroz Khan
4 Сен 2019 в 12:16

Уважаемое хабрасообщество, вот вам загадка. Решаю уже несколько дней. Никогда до этого не связывался с мобильной разработкой, но черт дернул. Задумал приложение по работе с базой данных. А база большая, но это ничего. Все шло хорошо, пока я не добавил слишком много фрагментов и все не полетело в бездну.
Вводная:
В приложении есть несколько фрагментов с ListView. Они наполняются из базы при помощи связки SimpleCursorAdapter’a и Cursor Loader’а.
Предлагаю ознакомиться с логом ошибки:

10-14 19:29:34.313  24409-24409/ru.endid.sqliteproject E/AndroidRuntime﹕ FATAL EXCEPTION: main 
    Process: ru.endid.sqliteproject, PID: 24409 
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT _id, name FROM company ORDER BY name 
            at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:55) 
            at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:58) 
            at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:152) 
            at android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:124) 
            at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:214) 
            at android.database.CursorWrapper.moveToPosition(CursorWrapper.java:162) 
            at android.widget.CursorAdapter.getItemId(CursorAdapter.java:223) 
            at android.widget.AbsListView.onSaveInstanceState(AbsListView.java:1764) 
            at android.view.View.dispatchSaveInstanceState(View.java:12728) 
            at android.view.ViewGroup.dispatchFreezeSelfOnly(ViewGroup.java:2629) 
            at android.widget.AdapterView.dispatchSaveInstanceState(AdapterView.java:783) 
            at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2615) 
            at android.view.View.saveHierarchyState(View.java:12711) 
            at android.app.FragmentManagerImpl.saveFragmentViewState(FragmentManager.java:1577) 
            at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:951) 
            at android.app.FragmentManagerImpl.removeFragment(FragmentManager.java:1167) 
            at android.app.BackStackRecord.run(BackStackRecord.java:641) 
            at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447) 
            at android.app.FragmentManagerImpl$1.run(FragmentManager.java:443) 
            at android.os.Handler.handleCallback(Handler.java:733) 
            at android.os.Handler.dispatchMessage(Handler.java:95) 
            at android.os.Looper.loop(Looper.java:136) 
            at android.app.ActivityThread.main(ActivityThread.java:5001) 
            at java.lang.reflect.Method.invokeNative(Native Method) 
            at java.lang.reflect.Method.invoke(Method.java:515) 
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 
            at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132) 
            at dalvik.system.NativeStart.main(Native Method)

Как видно, нет отсылки к месту возникновения исключения в коде. Более того, попытки отловить его с помощью try — catch в местах, вызывающих подозрения, ничего не принесли. В первую очередь — это методы ContentProvider’а для доступа к базе. Вполне ожидаемо, что проблема с этим. Но нет! Так же были проверены методы Loader’a — чисто! В общем, кому интересно, предлагаю поискать вместе.
P.S. нашел точно такую же ошибку на багтрекере Mozilla здесь. Отличается только sql запросом. По крайней мере, я не одинок в своей проблеме.
P.P.S. Я не замещаю фрагменты, а использую метод add при добавлении нового. Потом, при возврате, забираю из BackStack предыдущий. Если заменить add на replace, ошибка исчезает. Значит, это напрямую связано с фрагментами и загрузчиком курсора. Но отловить ошибку не получается.

  1. Anyone have meet Tivimate getting Msg » An Error Occurred: illegalstateexception» after update to lastest firmware 6.3.2_g, then how to solve this problem? PLS help…

    Attached Files:

  2. It is look like the developer do not care about iptv problem. They just care about playing function of hdd file playback. I am using astro go and other stand alone iptv app . On 6.1.15. all app is function as normal, while upgrade to 6.2.0 and other fw till 6.3.0, all iptv channel can’t play anymore, all become black screen. I roll back to 6.1.15. Just skip all future fw update. Then you will happy with this player. I am using z9x. DO NOT BUY THIS ANDROID MULTI MEDIA PLAYER FOR IPTV.

  3. That , I switch back to 6.1.15 , then ok to go. Seem like Zidoo are only for theater playback, not compatible for multimedia and Netflix no works at all. I buy this thought can go for best performance on HDR, DV or atmos but at last….:(

  4. I have Tivimate on my Zidoo Z9X with the new firmware and no problems.

  5. Hi Pateco. May i know what version of your Tivimate? Tq

  6. Hi, I have the last version 3.6.0

    Last edited: May 12, 2021

Share This Page


Zidoo forum

  • #1

Hi !

im running Tivimate on Nvidia shield and after it tried to load the playlist i got the following error message » IllegalStateException «

does somebody know what is wrong and how i can correct it ?

husham

husham

Doctor, PHD

Staff member

Offline

  • #2

i seen these before.. but not sure if it was because the source was down or the server was down..

its basically the link you are connecting has given an error .. and the wisdom of tivimate .. GIVE US THAT STUPID CONFUSING ERROR ..
Not sure if @Ed209 or @MikeFL can correct me on this

MikeFL

MikeFL

🏖🌴Mike 🌴🏖

Staff member

Offline

  • #3

because the source was down or the server was down..

I believe you are correct on that, which for the end-user, it’s the same thing.

Are you fond of using TiviMate to watch various shows and videos in your free time?

But maybe you have been seeing error codes every time you try to open TiviMate on your device.

It can be a frustrating and annoying experience but don’t feel disappointed because you can easily fix these errors.

In this article, we will be going over the various error codes that you might be facing in your TiviMate account and how you can fix them.

TiviMate Error Code 400

When you are seeing the error code 400 in TiviMate then that means there are some issues from your provider.

Error 400 in TiviMate can make you unable to load the page where you want to see the videos. 

This error code 400 can occur due to a bad gateway which can happen due to a poor internet connection or an issue on the service provider’s side. 

To fix the error code 400 you can check the internet connections to see if there are any loose connections or whether your internet is having any issues.

Another solution that you can try is to contact your service provider and talk to them about the issue.

The chances are that they will be able to fix it as in most cases error 400 happens due to an issue from their end.

TiviMate Error Code 401

TiviMate Error Code 401

When you are seeing the error code 401 on TiviMate you will not be able to load the list of channels in TiviMate.

Every time you try to load the list of channels you will see the message, “An error occurred: Code 401”.

This error occurs when your provider tries to block you from using other media players except their own in the device.

However, you can easily fix this error code 401 in your TiviMate.

To fix the error 401 you will have to open Settings and then General.

Now add “Agent: IPTVSmartersPlayer” to the User Agent.

Now try to open the list of channels again and you should be able to open it.

TiviMate Error Code 403

When you see the error code 403 on TiviMate then you will not be able to access your TiviMate channel. 

In most cases, this error 403 occurs when your provider has blocked you from accessing TiviMate.

It can also happen if TiviMate is blocked by another party in your region. 

To fix the issue of error 403 in TiviMate you can use a VPN to access your Tivimate account.

This can also be a temporary issue due to which you might be seeing the error code 403.

In that case, contacting your provider or waiting for some time can solve this issue.

TiviMate Error Code 404

If you see the error code 404 then that means the address can not be found that you have requested.

You will not be able to see the channel that you want and will only see the messages such as 404 Not Found, 404, 404 Error, Page Not Found, File Not Found, or Server Not Found

In most cases, this means that the address was changed somehow sometime ago and you are not aware of it.

Maybe this was changed by your provider. 

To fix this issue you can contact your provider and talk to them.

You can also check where the link that you have provided is correct.

You can also remove the channel from the list and then add them again and that should solve the issue. 

TiviMate Error Code 416

When you are seeing the error code 416 in your Tivi Mate then you will not be able to open TiviMate channels.

Error code 416 is a forbidden error code which means that the server has understood the request but has denied authorizing it.

A server’s inability to provide the requested ranges is indicated by the error code 416, Range Not Satisfiable.

The lack of such ranges in the document or the Range header value’s incomprehensibility as a whole is the most likely cause.

To fix this issue of error code 416 you will have to contact your service provider and then ask them to help you regarding this issue.

TiviMate Error Code 451

When you see the error code 451 then it means that your IPTV subscription is due and you will not be able to watch TV.

When you have not paid for the subscription even after your current subscription has expired you will see the error code 451.

To fix it you can just pay the subscription and your TV should be working as usual.

TiviMate Error Code 456

If you are seeing the error code 456 on TiviMate then you will not be able to open TiviMate and watch your videos. 

This error 456 is caused if your country lock is not reset by your provider. 

To fix this issue you can contact the provider and ask them to reset your country lock or you can just use a VPN with your system.

Using a VPN will also solve the issue but it is best that you get the country lock reset from your provider.

TiviMate Error Code 500

If you see the error code 500 you will not be able to open TiviMate and watch your favourite channels and shows. 

This error is caused by a server issue that can happen from your provider’s end.

To fix this issue please contact your service provider and ask them about it or you can wait for some time and see whether your error is solved during that time.

The chances are that the providers are updating the server so waiting should solve it most of the time.

TiviMate Error Code 502

When you are seeing the error code 502 then your TiviMate will be having issues connecting to its servers due to which you will not be able to open and watch videos in your TiviMate. 

The error 502 could be occurring due to server issues as well as due to having some kind of blockage in the connection.

To fix this issue you can try to force stop TiviMate and then open it again.

You can also clear the cache of TiviMate and then reboot the device.

If nothing works then please contact the service provider.

TiviMate Error Code 511

The error code 511 generally stops your TiviMate from getting network authorization and your videos will not get played when that happens. 

The cause of the error 511 in the TiviMate might be happening due to another app called Stalker on your device.

To fix this issue you can update your TiviMate to its latest version as this bug has been fixed in it.

You can also delete Stalker from your device to fix this issue. 

TiviMate Error Code 520

You could be seeing the error 520 when you are trying to open your IPTV.

This error will stop you from opening your TiviMate. 

The cause can be some kind of bug in the system of your device or maybe you forgot to update your TiviMate to its latest version.

To fix this issue you can uninstall and then reinstall it.

You can also sign out of your account and then sign in again and check whether the problem is happening.

Another solution is to check whether your TiviMate is updated to its latest version.

If it is not updated then you will have to update it and the error code 520 problem will get solved.

TiviMate Error Code 521

If you are seeing the error code 521 every time you are trying to open your TiviMate then you are probably unable to open it at all.

There can be various causes for error code 521 in your TiviMate.

Provider’s server could be down or refuse the connection because of some security reasons.

If you are using a VPN within your device then that can also be the reason why you might be seeing the error code 521.

To fix it first disable your VPN if you are using one.

If you can’t disable it then uninstalling it would solve the problem.

You can also contact your VPN provider and get TiviMate get whitelisted.

Another fix that you can try is to power cycle your router.

To do a power cycle you will have to unplug all the connections and then wait till all the lights have turned off and then replug them again and switch the router on.

If there is an issue with the server then there is nothing that you can do except wait till it gets fixed.

If nothing solves this issue then please contact your service provident and ask them about this issue.

Similar Posts:

Уважаемое хабрасообщество, вот вам загадка. Решаю уже несколько дней. Никогда до этого не связывался с мобильной разработкой, но черт дернул. Задумал приложение по работе с базой данных. А база большая, но это ничего. Все шло хорошо, пока я не добавил слишком много фрагментов и все не полетело в бездну.
Вводная:
В приложении есть несколько фрагментов с ListView. Они наполняются из базы при помощи связки SimpleCursorAdapter’a и Cursor Loader’а.
Предлагаю ознакомиться с логом ошибки:

10-14 19:29:34.313  24409-24409/ru.endid.sqliteproject E/AndroidRuntime﹕ FATAL EXCEPTION: main 
    Process: ru.endid.sqliteproject, PID: 24409 
    java.lang.IllegalStateException: attempt to re-open an already-closed object: SQLiteQuery: SELECT _id, name FROM company ORDER BY name 
            at android.database.sqlite.SQLiteClosable.acquireReference(SQLiteClosable.java:55) 
            at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:58) 
            at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:152) 
            at android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:124) 
            at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:214) 
            at android.database.CursorWrapper.moveToPosition(CursorWrapper.java:162) 
            at android.widget.CursorAdapter.getItemId(CursorAdapter.java:223) 
            at android.widget.AbsListView.onSaveInstanceState(AbsListView.java:1764) 
            at android.view.View.dispatchSaveInstanceState(View.java:12728) 
            at android.view.ViewGroup.dispatchFreezeSelfOnly(ViewGroup.java:2629) 
            at android.widget.AdapterView.dispatchSaveInstanceState(AdapterView.java:783) 
            at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:2615) 
            at android.view.View.saveHierarchyState(View.java:12711) 
            at android.app.FragmentManagerImpl.saveFragmentViewState(FragmentManager.java:1577) 
            at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:951) 
            at android.app.FragmentManagerImpl.removeFragment(FragmentManager.java:1167) 
            at android.app.BackStackRecord.run(BackStackRecord.java:641) 
            at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447) 
            at android.app.FragmentManagerImpl$1.run(FragmentManager.java:443) 
            at android.os.Handler.handleCallback(Handler.java:733) 
            at android.os.Handler.dispatchMessage(Handler.java:95) 
            at android.os.Looper.loop(Looper.java:136) 
            at android.app.ActivityThread.main(ActivityThread.java:5001) 
            at java.lang.reflect.Method.invokeNative(Native Method) 
            at java.lang.reflect.Method.invoke(Method.java:515) 
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) 
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) 
            at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132) 
            at dalvik.system.NativeStart.main(Native Method)

Как видно, нет отсылки к месту возникновения исключения в коде. Более того, попытки отловить его с помощью try — catch в местах, вызывающих подозрения, ничего не принесли. В первую очередь — это методы ContentProvider’а для доступа к базе. Вполне ожидаемо, что проблема с этим. Но нет! Так же были проверены методы Loader’a — чисто! В общем, кому интересно, предлагаю поискать вместе.
P.S. нашел точно такую же ошибку на багтрекере Mozilla здесь. Отличается только sql запросом. По крайней мере, я не одинок в своей проблеме.
P.P.S. Я не замещаю фрагменты, а использую метод add при добавлении нового. Потом, при возврате, забираю из BackStack предыдущий. Если заменить add на replace, ошибка исчезает. Значит, это напрямую связано с фрагментами и загрузчиком курсора. Но отловить ошибку не получается.

Понравилась статья? Поделить с друзьями:
  • Возникла неопределенная ошибка 696e647863686b2e 4ce
  • Возникла непредвиденная ошибка или сеанс был завершен администратором
  • Возникла ошибка 500 при обработке запроса
  • Возникла неопределенная ошибка 696e647863686b2e 1324
  • Возникла непредвиденная ошибка втб