Opened 3 years ago

Last modified 3 years ago

#2265 closed defect

Reporter search in Experiment explorer is broken — at Initial Version

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.19
Component: core Version:
Keywords: Cc:

Description

If a search condition is entered an error message is displayed and the list is not filtered. The actual class may very between String, Integer, etc. depending on the data type of the column.

ClassCastException: class java.lang.String cannot 
be cast to class net.sf.basedb.core.Type
.....

In the log file there is a full stacktrace:

java.lang.ClassCastException: class java.lang.String cannot be cast to class net.sf.basedb.core.Type (java.lang.String is in module java.base of loader 'bootstrap'; net.sf.basedb.core.Type is in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @45a37759)
	at net.sf.basedb.core.PropertyFilter.getDynamicRestriction(PropertyFilter.java:1264)
	at net.sf.basedb.core.ItemContext.configureQuery(ItemContext.java:1986)
	at net.sf.basedb.clients.web.ExperimentExplorer.getReporterQuery(ExperimentExplorer.java:720)
	at org.apache.jsp.views.experiments.explorer.search.list_jsp._jspService(list_jsp.java:337)
...

Change History (0)

Note: See TracTickets for help on using tickets.