MantisBT - IGSTK
View Issue Details
0010801IGSTKIGSTKpublic2010-06-07 21:552010-06-07 21:55
Jake McIvor 
Patrick Cheng 
normalminoralways
assignedopen 
0010801: Exception if first tool in Polaris Hybrid Configuration file is wireless
A file format exception, "Specified physical port number is invalid." is thrown if the first tool in the configuration file is a wireless tool.

In PolarisHybridConfigurationXMLFileReader (1.1), m_HaveCurrentControlBoxPort is not initialized. Since it is true by default, the first tool in the file is dynamically cast as a wired tool irregardless of whether a <control_box_port> tag is found.

Initializing m_HaveCurrentControlBoxPort to false in the constructor should solve the issue. The other data member, m_CurrentSromFileName, should probably be initialized as well.
No tags attached.
Issue History
2010-06-07 21:55Jake McIvorNew Issue
2010-06-07 21:55Jake McIvorStatusnew => assigned
2010-06-07 21:55Jake McIvorAssigned To => Patrick Cheng

There are no notes attached to this issue.