Dashboard doesn't launch with Java 8 upgrade

Description

Dashboard module is commented from root `pom.xml`, compiled fine but could not start tomcat if it was part of the build. produced below exception

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.sakaiproject.dash.entityprovider.DashboardEntityProvider#0' defined in file /Users/pushyami/tomcat/tomcat7_ctoolsS/components/dashboard-pack/WEB-INF/components.xml: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sakaiProxy' of bean class [org.sakaiproject.dash.entityprovider.DashboardEntityProvider]: Bean property 'sakaiProxy' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

Environment

None

Test Plan

None

duplicates

Activity

Show:

Zhen Qian June 8, 2015 at 12:01 PM

merged in changes. Ready for testing.

Beth Kirschner June 8, 2015 at 8:03 AM

I can reproduce the problem locally – there are also a number of warnings about trying to create tables which already exist, but these were probably there all along?

Pushyami Gundala June 5, 2015 at 8:26 AM

I see this problem on Ctdev. Tomcat won't start up if the Dashboard is part of the build. I see the same error as mentioned above.

Zhen Qian June 4, 2015 at 8:28 AM

I see no problem of starting up and using Dashboard tool with Java 8.

Zhen Qian June 4, 2015 at 8:21 AM

I see no problem with starting up dashboard tool in Java 8 environment:

0587395456:logs zqian$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

In the log file:
...
INFO Registered entity provider (org.sakaiproject.dash.entityprovider.DashboardEntityProvider) prefix (dash) with 5 capabilities
...

And the Dashboard tool launches fine in Sakai portal.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 3, 2015 at 2:59 PM
Updated June 24, 2015 at 9:56 AM
Resolved June 8, 2015 at 12:01 PM