Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

Error : Java exception

When I try to simulate an example I get always this error:

Java exception occurred:

java.lang.NullPointerException

at com.altera.dspbuilder.simulation.Model.renameBlock(Unknown Source)

at com.altera.dspbuilder.simulation.Mask.rename(Unknown Source)

I don't know why I have always this message.

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Do you get this for all examples or just one specific one?

    One thing to try, is to make sure you have no unconnected input ports (especially to subsystems) as this has been known to cause problems.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It happens only for this example.

    All ports are connected but there is a parameter that cannot be evaluated.

    Is it the cause of this error?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It could be. Is this a design example shipped with DSP Builder? If so, let me know which one it is and I can take a look. If not, let me know the error message exactly and I can help you fix it.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Actually I'm working on channel estimation & equalization reference design

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try fixing the parameter error and see what happens. If the design can't initialise properly it's unlikely that DSPB will be able to synthesize it correctly.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I think I know why the parameter cannot be evaluated, my problem is in the chest_generateLUT parameter, when I checked for Chest_generateLUT.m file which should be in the ref design files, I realized that this file is missing