Opened 16 years ago

Last modified 16 years ago

#851 closed defect

Migration doesn't transfer 'reportermap' wizzzard configurations — at Initial Version

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 2.5
Component: migrate Version:
Keywords: Cc:

Description

From the mailing list by Pawel Sztromwasser: http://www.mail-archive.com/basedb-users@lists.sourceforge.net/msg00962.html

The wizzard transfer works like this (when comes to mapping):

  1. it parses mapping string from Base1 database using regular expression looking for (key:value) pairs separated by comma. Example part of a mapping string:
    _r_block:1,_r_x:\"Column"\,_r_y:\"Row"\,reporterId:\"Probe_ID"\, 
    
  1. it puts the (key,value) pairs into HashMap
  2. and uses this map when configuring import plugin. When getting those values, it looks for certain keys ('numCol' and 'numRow' are among them, explicitly coded around lines 130 and 140 in WizzzardTransfer.java). When there is no value in HashMap it returns null, so null is passed to plugin configuration. Then it complains:
10:58:47,690 DEBUG WizzzardTransfer:281 - Setting parameter values for a 
reportermap-FormatType
10:58:47,690 DEBUG WizzzardTransfer:314 - 
net.sf.basedb.core.InvalidUseOfNullException: Invalid use of null. The 
'columnColumnMapping' value cannot be set to null.
10:58:47,690 DEBUG WizzzardTransfer:314 - 
net.sf.basedb.core.InvalidUseOfNullException: Invalid use of null. The 
'rowColumnMapping' value cannot be set to null.
10:58:47,690  WARN WizzzardTransfer:321 - The wizzard [11:Agilent test 
map format w/o block] could not be transfered

Change History (0)

Note: See TracTickets for help on using tickets.