Opened 17 years ago

Closed 17 years ago

#1 closed defect (fixed)

null corresponding variable: tile example

Reported by: Stephen Siegel Owned by: ywei
Priority: major Milestone:
Component: verify Version: 1.0
Keywords: corresponding value Cc:

Description

Using revision 942.
Running compare on tile example yields following exception. It means that setCorrespondingVariable is being called with null argument:

frederic:tile siegel$ tass compare spec.mmp impl.mmp
MiniMP version 1.0
URL: http://vsl.cis.udel.edu

Minimp initialized with 1 process
Program runs in compare mode.
Program parsed succesfully.
Exception in thread "main" java.lang.NullPointerException: null correspondingVariable in setCorrespondingVariable

at edu.udel.cis.vsl.minimp.model.impl.Model.setCorrespondingVariable(Model.java:403)
at edu.udel.cis.vsl.minimp.front.minimp.ModelBuilder.buildModel(ModelBuilder.java:130)
at edu.udel.cis.vsl.minimp.Minimp.compareEquivalence(Minimp.java:218)
at edu.udel.cis.vsl.minimp.Minimp.main(Minimp.java:260)

frederic:tile siegel$ pwd
/Users/siegel/minimp/trunk/examples/tile
frederic:tile siegel$

Change History (2)

in reply to:  description comment:1 by ywei, 17 years ago

Replying to siegel:

Using revision 942.
Running compare on tile example yields following exception. It means that setCorrespondingVariable is being called with null argument:

frederic:tile siegel$ tass compare spec.mmp impl.mmp
MiniMP version 1.0
URL: http://vsl.cis.udel.edu

Minimp initialized with 1 process
Program runs in compare mode.
Program parsed succesfully.
Exception in thread "main" java.lang.NullPointerException: null correspondingVariable in setCorrespondingVariable

at edu.udel.cis.vsl.minimp.model.impl.Model.setCorrespondingVariable(Model.java:403)
at edu.udel.cis.vsl.minimp.front.minimp.ModelBuilder.buildModel(ModelBuilder.java:130)
at edu.udel.cis.vsl.minimp.Minimp.compareEquivalence(Minimp.java:218)
at edu.udel.cis.vsl.minimp.Minimp.main(Minimp.java:260)

frederic:tile siegel$ pwd
/Users/siegel/minimp/trunk/examples/tile
frederic:tile siegel$

Fixed it. Codes checked in.

comment:2 by ywei, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.