Opened 7 years ago

Closed 7 years ago

#2100 closed defect (fixed)

Permission column causes NPE in biowells list

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.11.2
Component: web Version:
Keywords: Cc:


Create a bioplate and enter the view page.

Switch to the "Wells" tab.

Add the "Permissions" column.

This causes a NPE:

java.lang.NullPointerException net.sf.basedb.clients.web.taglib.table.ColumnDef.doStartTag( org.apache.jsp.biomaterials.bioplates.wells.list_005fbiowells_jsp._jspx_meth_tbl_005fcolumndef_005f15(

To get rid of the problem go to BASE -> Reset list settings and select the Biowell option in the Which list? list.

Change History (2)

comment:1 by Nicklas Nordborg, 7 years ago

Biowells have no permissions on their own so the "Permission" column should not be in this list.

The "Permission" column has been there a long time but has not caused any problem until BASE 3.10 ( This changed the "Permission" list from being a static hard-coded list to a dynamic list, only showing logical alternatives. The code in ColumnDef should be updated to handle the null or empty list case.

comment:2 by Nicklas Nordborg, 7 years ago

Resolution: fixed
Status: newclosed

(In [7422]) Fixes #2100: Permission column causes NPE in biowells list

Note: See TracTickets for help on using tickets.