Jump to content
We've recently updated our Privacy Statement, available here ×

How to find problem...


toxy

Recommended Posts

Hi,

I've problems to understand errormessages correctly... so my actual Report sends this when running:

net.sf.jasperreports.engine.JRRuntimeException: Could not resolve style(s): Detail
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.checkUnresolvedReferences(JRFillObjectFactory.java:1630)
    at net.sf.jasperreports.engine.fill.JRFillObjectFactory.setStyles(JRFillObjectFactory.java:1557)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.loadStyles(JRBaseFiller.java:1016)
    ....

From other postings I know, that there should be a reference to a not exisiting style - but how can I find this reference? Where have I to look for? What exactly is missing...?

Is there any help for me? thanks!

toxy

PS: I'm using iReports 4.0.0

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

More than likely, your object is refrencing a style that is no longer available.  I had this issue when I coped a text label that had a style attached to another report I was working on.  Even though the "properties" look said I had no style assigned to the label, I was still getting an error.  I simply deleted the copied label and created a new one.

 

David

Link to comment
Share on other sites

wow - that could it be! I've solved the problem in the meantime by deleting elements one by one until the error disappeared, then I created them new.

I think, there was at least one element I copied from another report...

thanks a lot!

 

toxy

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...