Opened 16 years ago
Closed 16 years ago
#264 closed defect (fixed)
null pointer exception in TreeParser using collective assert
| Reported by: | Stephen Siegel | Owned by: | zirkel |
|---|---|---|---|
| Priority: | major | Milestone: | 1.1 |
| Component: | front | Version: | 1.1 |
| Keywords: | collective assert null | Cc: |
Description
Run the collectiveAssert/CollectiveAssertTest and you get a NullPointerException on ca1.c in TreeParser.
java.lang.NullPointerException at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processPrimaryExpr(TreeParser.java:2229) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processPostfixExpr(TreeParser.java:2006) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processUnaryExpr(TreeParser.java:1922) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processMultiplicativeExpr(TreeParser.java:1875) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processAdditiveExpr(TreeParser.java:1830) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processRelationalExpr(TreeParser.java:1779) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processEqualityExpr(TreeParser.java:1755) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processLogicalAndExpr(TreeParser.java:1699) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processLogicalOrExpr(TreeParser.java:1668) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processIfThenElseExpr(TreeParser.java:1591) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processAssignExpr(TreeParser.java:1584) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processExpr(TreeParser.java:1525) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processIfThenElseExpr(TreeParser.java:1595) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processAssignExpr(TreeParser.java:1584) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processExpr(TreeParser.java:1525) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processPrimaryExpr(TreeParser.java:2251) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processPostfixExpr(TreeParser.java:2004) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processUnaryExpr(TreeParser.java:1922) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processMultiplicativeExpr(TreeParser.java:1875) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processAdditiveExpr(TreeParser.java:1830) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processRelationalExpr(TreeParser.java:1779) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processEqualityExpr(TreeParser.java:1731) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processLogicalAndExpr(TreeParser.java:1699) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processLogicalOrExpr(TreeParser.java:1668) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processIfThenElseExpr(TreeParser.java:1591) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processAssignExpr(TreeParser.java:1584) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processExpr(TreeParser.java:1525) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processCollectiveAssertStmt(TreeParser.java:2381) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processStatement(TreeParser.java:2363) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processStmtList(TreeParser.java:1509) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processFunctionBody(TreeParser.java:1495) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processFunction(TreeParser.java:1350) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processAST(TreeParser.java:300) at edu.udel.cis.vsl.tass.front.minimp.parser.TreeParser.processAST(TreeParser.java:234) at edu.udel.cis.vsl.tass.front.minimp.ModelExtractor.extract(ModelExtractor.java:35) at edu.udel.cis.vsl.tass.front.minimp.ModelExtractor.extractModel(ModelExtractor.java:60) at collectiveAssert.CollectiveAssertTest.ca1(CollectiveAssertTest.java:31) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41) at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.java:220) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Change History (2)
comment:1 by , 16 years ago
| Status: | new → accepted |
|---|
comment:2 by , 16 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
