This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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: 3581
    
  14

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
 
Don't get me started about those stupid light bulbs.
 
subject: IllegalStateException: Metadata is read-only
 
Similar Threads
EJB 3 Stateful BMT SessionBean Open Transaction not behaving properly : JBoss 6 : EJB 3
EJB 3 Stateful BMT SessionBean Open Transaction not behaving properly
Exception Can't find a persistence unit named 'null'
IllegalStateException related
Configuring SQL Server 2008 to JBOSS