Opened 17 years ago
Closed 17 years ago
#977 closed defect (fixed)
ClassCastException in Experiment overview when clicking on an experimental factor
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | minor | Milestone: | BASE 2.6.2 |
Component: | web | Version: | |
Keywords: | Cc: |
Description
- Select an experiment which has at least one experimental factor. There doesn't have to be any data.
- Go to Experiment overview
- Click on the tree and select one of the experimental factors of the experiment.
- An error happens in the upper right frame. Here is the stack trace:
net.sf.basedb.core.Experiment cannot be cast to net.sf.basedb.core.Annotatable java.lang.ClassCastException ...at org.apache.jsp.views.experiments.overview.info_jsp._jspService(info_jsp.java:491) ...at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
And lines 485 - 493 from info_jsp.java:
485 if (node.getName().startsWith("parameter")) 486 { 487 annotatable = (Annotatable)node.getParent().getParent().getParent().getItem(); 488 } 489 else 490 { 491 annotatable = (Annotatable)node.getParent().getParent().getItem(); 492 } 493 dc.reattachItem((BasicItem)annotatable);
Change History (2)
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
(In [4210]) Fixes #977: ClassCastException in Experiment overview when clicking on an experimental factor