This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Java in General and the fly likes IllegalStateException: Metadata is read-only Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "IllegalStateException: Metadata is read-only" Watch "IllegalStateException: Metadata is read-only" New topic
Author

IllegalStateException: Metadata is read-only

Luis Oliveira
Greenhorn

Joined: Jun 04, 2012
Posts: 6
Hi all.

I'm getting an exception on this instruction:



The exception is as follow:



This exception start to show after a migration from Jboss 4 to jboss 7 and a change in JDK from 1.5 to 1.7.

Is this exception familiar to anyone?
Thanks
Stephan van Hulst
Bartender

Joined: Sep 20, 2010
Posts: 3649
    
  17

Hi Luis.

You're not giving us much to work with. We don't even know the type of meta. Please take a look here: HowToAskQuestionsOnJavaRanch.
Luis Oliveira
Greenhorn

Joined: Jun 04, 2012
Posts: 6
Ok ok, sorry, I will try to give a little more info.

I'm trying to change a bmp image. Like I said before, this was working code, until I migrate it to a new server.

The error happens on this function:


The metadata comes from the image which I'm trying to change:


Really thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: IllegalStateException: Metadata is read-only