Skip to main content
developer portal
    • Account Info
    • Account Usage
    • Payment Method
    • Billing Statements
    • Messages
Log Out
Log In Register
  • Home
  • Pricing
  • Downloads
  • Library
  • Develop
  • Support
  • Admin
  • SDK
  • Samples
  • Tools
  • Support Center
  • Community Forums
  • VIP Support
  • Production Support
  • Accounts
  • Roles
  • Licenses
  • Databases
  • Price Plans
  • Billing
  • Content
  • Legal
  • Forums
  • Reports
  • Tools
  • Registry
  • License Manager
  • Target Manager
  • Credentials Manager
  • Community Forums
  • Archive
  • Archive
  • Android
  • java.lang.IllegalStateException: Image is already closed
Log in or register to post comments
  • Sort Posts
  • 1 replies
  • Last post

java.lang.IllegalStateException: Image is already closed

April 2, 2018 - 11:41am #1

Hello. Using a imported Unity Project (2017.2.0f3) which uses Vuforia, We are getting the following error:

 

    Caused by java.lang.IllegalStateException: Image is already closed

       at android.media.Image.throwISEIfImageIsInvalid(Image.java:68)

       at android.media.ImageReader$SurfaceImage.getTimestamp(ImageReader.java:750)

       at com.vuforia.ar.pl.Camera2_Preview$OnCameraDataAvailable.onImageAvailable(Camera2_Preview.java:326)

       at android.media.ImageReader$ListenerHandler.handleMessage(ImageReader.java:687)

       at android.os.Handler.dispatchMessage(Handler.java:102)

       at android.os.Looper.loop(Looper.java:154)

       at android.os.HandlerThread.run(HandlerThread.java:61)

The details of the device are the following: 

 

    Fatal Exception: java.lang.Error: FATAL EXCEPTION [0_camera_thread

    Unity version     : 2017.2.0f3 

    Device model      : LGE LM-X210(G)

    Device fingerprint: lge/cv1_lao_com/cv1:7.1.2/N2G47H/180391525b535:user/release-keys

 

Please let me know if I can provide any more information that would be helpful to determine the problem and a good solution.

  • Log in or register to post comments
lchoi
Offline
Joined:
November 15, 2017
Posts: 2
Top

java.lang.IllegalStateException: Image is already closed

April 2, 2018 - 11:45am #2

Hello lchoi,

Where was this imported from? Which Vuforia features are you using in this project? Do you get this error in the samples or with a new project?

Thanks,

Vuforia Support

  • Log in or register to post comments
Strasza
Offline
Joined:
June 13, 2017
Posts: 1716
Top
Log in or register to post comments

Delete Message

Are you sure you want to delete this message?

Cancel

Delete Conversation

Are you sure you want to delete this conversation?

Cancel

Delete Message

Are you sure you want to delete this message?

Cancel

Delete Conversation

Are you sure you want to delete this conversation?

Cancel
  • PTC, Inc.
  • Latest News
  • Blog
  • Careers at PTC
  • Contact Us
  • Resources
  • Support
  • Developer Library
  • Pricing Request
  • Downloads
  • Developer Agreement
  • Community
  • Developer Portal
  • Forums
  • Announcements
  • Events
  • AR Products
  • Overview
  • Vuforia Engine
  • Vuforia Studio
  • Vuforia Chalk
Stay cutting edge. Get the Vuforia newsletter.

© Copyright 2022 PTC

Legal Privacy Policy Terms Security

Login

You are being redirected to login page. If nothing is happening Click here.

Forgot Password

To reset your password please enter the email address associated with your account. An email will be sent to you with instructions on how to complete changing your password.

Not registered? Create account now
Cancel