×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2007
    Posts
    159

    Uncaught exception java/lang/IllegalStateException: Can't invoke the metho

    Hi all,

    I am currently trying to append the ByteArrayInputStream, with some more new data, using System.arraycopy(), its posing error : "Uncaught exception java/lang/IllegalStateException: Can't invoke the method at the closed state .
    " & i am not getting where i have went wrong, is it something that i am going to do a wrong thing by trying to append it.....?
    Last edited by sis1987; 2008-04-30 at 13:57.

  2. #2
    Super Contributor
    Join Date
    Apr 2003
    Location
    USA, CA
    Posts
    7,191

    Re: Uncaught exception java/lang/IllegalStateException: Can't invoke the metho

    Looks like you have some problems in your code. Hard to guess without seen what you are doing...
    The error message suggests that something is closed which should be open... the ByteArrayStream... but this is just a guess.

    Hartti

  3. #3
    Registered User
    Join Date
    Dec 2004
    Posts
    369

    Re: Uncaught exception java/lang/IllegalStateException: Can't invoke the metho

    append to the ByteArrayInputStream???? ByteArrayInputStream is for reading not for writing (or appending).
    a quick code snippet would help us help u.

Similar Threads

  1. help!! S60 Uncaught exception!
    By huoyanjingjing in forum Mobile Java General
    Replies: 4
    Last Post: 2008-08-03, 22:25
  2. s60 3rd ed emulator crash
    By Kimau in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2008-06-18, 22:12
  3. Replies: 2
    Last Post: 2007-09-18, 08:47
  4. VS.Net 2003 Carbide 2.01 and epoc32.exe
    By ValentinK in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2007-01-12, 12:31
  5. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×