add new task       

Task ID:  255  "Crop_class is registered twice. ComponentInterface throws AV when quering crop_class"    
 
Created by admin on 2006-10-17 11:42 PM, 4385 days ago
Project:  Module Code
Category:  Bug
Priority:  medium
Assigned to:  hol353  
Status:  closed
Apsim Version:
Your Name:
Contact Details:
 
 

show inline images      show change history

 comment 30939 posted by hol353 on 2009-09-18 2:56 PM, 3318 days ago 
In APSIM 7.1 beta, I tried to reproduce this one, unsuccessfully. I dropped a log component into Continuous Wheat.apsim and then added an output variable called crop_class. The log file looked ok + the variable was output sucessfully by the report module. I noticed the variable was being registered twice as Eric mentions below, which is ok.
 comment 249 posted by admin on 2006-10-17 11:42 PM, 4385 days ago 
"Crop_class is registered twice. ComponentInterface throws AV when quering crop_classHi Dean,(new line); (new line);We've found another minor problem. This one is not a show-stopper, and there's no urgent need to fix it, but I thought you might want to know about it. It appears that the plant component registers 'crop_class' as a readable property, then later as a writeable property (this, strictly speaking, is not really a bug; the protocol specification does not require names to be unique). The problem is that our attempt to query the readable property resulted in an access violation in componentinterface.dll.(new line); (new line);(new line);Eric Zurcher(new line);CSIRO Plant Industry(new line);Canberra, Australia(new line);Eric.Zurcher@csiro.au Version: Found By:Dean HolzworthContact:dean.holzworth.csiro.au"