Project and Portfolio Management Practitioners Forum
cancel

Java Lang Error pertaining to BackgroundPaint

Highlighted
Michael Gallant
Valued Contributor.

Java Lang Error pertaining to BackgroundPaint

We recently copied our PROD database to our DEV envirornment. The copy went well - we are able to see the data, and do all the required PPM functions; however, when we try to view a Portlet that has graphical information (using JAVA), we get error messages.

example, if using Project Health Pie Chart we get:

cannot create read-only descriptor for property 'backgroundPaint' of class ilog.views.chart.IlvChart$Area
java.lang.Error: cannot create read-only descriptor for property 'backgroundPaint' of class ilog.views.chart.IlvChart$Area
at ilog.views.util.beans.IlvBeanInfo.throwError(Unknown Source)
at ilog.views.util.beans.IlvBeanInfo.a(Unknown Source)
at ilog.views.util.beans.IlvBeanInfo.createPropertyDescriptor(Unknown Source)
at ilog.views.chart.IlvChart$AreaBeanInfo.getPropertyDescriptors(Unknown Source)
at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:475)
at java.beans.Introspector.getBeanInfo(Introspector.java:385)
at java.beans.Introspector.getBeanInfo(Introspector.java:157)
at ilog.views.util.css.BeansInterpretation.getPropertyDescriptors(Unknown Source)
at ilog.views.util.css.BeansInterpretation.applyDeclarations(Unknown Source)
at ilog.views.util.css.BeansInterpretation.customizeBean(Unknown Source)
at ilog.views.util.css.BeansInterpretation.customizeBean(Unknown Source)
at ilog.views.util.css.BeansInterpretation.customizeBean(Unknown Source)
at ilog.views.util.css.model.IlvBeansInterpretation.customizeBean(Unknown Source)
at ilog.views.util.css.model.IlvAbstractCSSModel.customizeImpl(Unknown Source)
at ilog.views.util.css.model.IlvAbstractCSSModel.customizeTreeRecursively(Unknown Source)
at ilog.views.util.css.model.IlvAbstractCSSModel.customizeTreeRecursively(Unknown Source)
at ilog.views.util.css.model.IlvAbstractCSSModel.customizeTree(Unknown Source)
at ilog.views.util.css.model.IlvAbstractCSSModel.customize(Unknown Source)
at ilog.views.chart.styling.IlvStylingSupport.customizeChart(Unknown Source)
at ilog.views.chart.IlvChart.applyStyles(Unknown Source)
at ilog.views.chart.IlvChart.p(Unknown Source)
at ilog.views.chart.IlvChart.setStyleSheets(Unknown Source)
at com.kintana.core.web.chart.ChartGenerator.setupChart(ChartGenerator.java:895)
at com.kintana.core.web.chart.ChartGenerator.generateImageAndMap(ChartGenerator.java:503)
at com.kintana.drv.portlet.helper.ProjectHealthPieChartDisplayHelper

Thanks
9 REPLIES
Erik Cole
Acclaimed Contributor.

Re: Java Lang Error pertaining to BackgroundPaint

Michael, have you done a recompile?
Michael Gallant
Valued Contributor.

Re: Java Lang Error pertaining to BackgroundPaint

According to my DBA .. no we did not.

Erik Cole
Acclaimed Contributor.

Re: Java Lang Error pertaining to BackgroundPaint

Well I'm speaking of the files on the app server...did you copy these over at the same time you copied the db? If not, you probably should. But in any event, it may not hurt to do a recompile with kJSPCompiler.sh
Michael Gallant
Valued Contributor.

Re: Java Lang Error pertaining to BackgroundPaint

We had a similar error in another box affecting anything with graphics in PPM (i.e. bar charts, graphs, etc ..) and it turned out we were out of disk space on our server. Once we deleted old files etc ... and cleaned up the server ... PPM on that box was back to normal.

I checked the server's disk space and we have 3 GB on the C drive, 7 GB on the D drive (where PPM is), and we have 1GB of RAM.

Do you think any of this would cause this particular error? Unfortunately, I cannot seem to find out what the error message was when it was a disk space issue. I only remember it affected the same things.
Michael Gallant
Valued Contributor.

Re: Java Lang Error pertaining to BackgroundPaint

okay ... I see what you mean. I will give that a try. Thanks Eric.
Michael Gallant
Valued Contributor.

Re: Java Lang Error pertaining to BackgroundPaint

Didn't work. I Stopped PPM, ran the compiler file, Restarted PPM and no change - still get the same error.

I ran the compliler via command prompt ... should I have done this in Cygwin? Does it matter?

Michael Gallant
Valued Contributor.

Re: Java Lang Error pertaining to BackgroundPaint

I will need to check with the guy that copied the app server stuff and get back to this forum.
Erik Cole
Acclaimed Contributor.

Re: Java Lang Error pertaining to BackgroundPaint

Yes, you should run kJSPCompiler.sh from the bash shell (cygwin).

I would:

1 - stop PPM
2 - delete the contents of both the tmp and work directories (not the directories themselves) in /server// path
3 - run kJSPCompiler.sh
4- run kUpdateHtml.sh
5- restart PPM
Cesar Roque
Respected Contributor.

Re: Java Lang Error pertaining to BackgroundPaint

Try to copy the application to dev too, I mean copy your production PPM_HOME directory to dev, change the necesary parameters at the server.conf, run the kUpdateHtml.sh script and try again.