RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Sat Feb 21, 2026 11:26 am

All times are UTC





Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: FIXED: .20a Table population out of bounds exception
PostPosted: Mon Feb 13, 2006 1:21 am 
Offline
Administrator
User avatar

Joined: Fri Jan 13, 2006 4:33 pm
Posts: 2079
Location: Palo, IA
When invalid storage address is found in XML, array out of bounds exception is thrown.

Fix: Done. Create exception handler in Table.populateTable() informing user of bad XML data

Notes: Added throws too relevant methods, and try/catch to Rom.populateTables()

Code:
            try {
                getTables().get(i).populateTable(binData);
            } catch (sx ex) {               
                new JOptionPane().showMessageDialog(container, "Storage address for table \"" + tables.get(i).getName() + "\" is out of bounds.\nPlease check ECU definition file.", "ECU Definition Error", JOptionPane.ERROR_MESSAGE);
                tables.remove(i);
            }

_________________
- Jared


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl