aspose file tools
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 Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "IllegalStateException: Metadata is read-only" Watch "IllegalStateException: Metadata is read-only" New topic

IllegalStateException: Metadata is read-only

Luis Oliveira

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?
Stephan van Hulst

Joined: Sep 20, 2010
Posts: 3792

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

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:
subject: IllegalStateException: Metadata is read-only