UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 34135

System Generator for DSP 12.1 - Why do I receive a java exception error when I select "New Compilation Target" in the token?

Description

When I attempt to launch the SBDBuilder by selecting "New Compilation Target" from the System Generator token, the following error occurs:
 

[Fatal Error] :630:3: The element type "Family" must be terminated by the matching end-tag "</Family>".

org.xml.sax.SAXParseException: The element type "Family" must be terminated by the matching end-tag "</Family>".
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
    at com.xilinx.sysgen.sbd.j.a(Unknown Source)
    at com.xilinx.sysgen.sbd.j.<init>(Unknown Source)
    at com.xilinx.sysgen.sbd.SBDBuilder.a(Unknown Source)
    at com.xilinx.sysgen.sbd.SBDBuilder.<init>(Unknown Source)
Java exception occurred:
java.lang.NullPointerException

    at com.xilinx.sysgen.sbd.j.a(Unknown Source)

    at com.xilinx.sysgen.sbd.SBDBuilder.a(Unknown Source)

    at com.xilinx.sysgen.sbd.SBDBuilder.<init>(Unknown Source)"

Solution


This message can occur due to a problem during the installation of System Generator. 
 
A possible work-around is to run the following command:
>> xilinx.environment.getpartinfo('refresh') 
You can also try to regenerate the partinfo xml file manually.

To find the location of the file do the following:
>>loc = xilinx.environment.getpartinfo('location')
Open the xml file in a file browser.

You will see that for a section of XML a start <Family> tag does not have the correct end </Family> tag, instead it has <Family>.

If this fails to resolve the issue, please open a case with Technical Support.

Linked Answer Records

Associated Answer Records

AR# 34135
Date Created 01/14/2010
Last Updated 09/02/2014
Status Active
Type General Article