This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android 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: 3898
    
  18

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.


The mind is a strange and wonderful thing. I'm not sure that it will ever be able to figure itself out, everything else, maybe. From the atom to the universe, everything, except itself.
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: IllegalStateException: Metadata is read-only
 
It's not a secret anymore!