Skip to content

Strange Exception being raised: MemoryObjectNotFoundException #21

@rgudwin

Description

@rgudwin

The following exception is being thrown while executing tests and showing the STDOUT:

br.unicamp.cst.core.exceptions.MemoryObjectNotFoundException: This Codelet could not find a memory object it needs: Disconnected Codelet
	at br.unicamp.cst.core.entities.Codelet$CodeletTimerTask.run(Codelet.java:795)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
br.unicamp.cst.core.exceptions.MemoryObjectNotFoundException: This Codelet could not find a memory object it needs: Disconnected Codelet
	at br.unicamp.cst.core.entities.Codelet$CodeletTimerTask.run(Codelet.java:795)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
br.unicamp.cst.core.exceptions.MemoryObjectNotFoundException: This Codelet could not find a memory object it needs: Disconnected Codelet
	at br.unicamp.cst.core.entities.Codelet$CodeletTimerTask.run(Codelet.java:795)
	at java.util.TimerThread.mainLoop(Timer.java:555)

These messages continue for a long time. The interesting thing is that the actual code of the br.unicamp.cst.core.entities.DisconnectedCodeletTest should be preventing this exception being raised:

try {
			disconnectedCodelet.getInput("TYPE", 0);
		}catch(Exception e) {
			assertEquals(e.getMessage(), "This Codelet could not find a memory object it needs: Disconnected Codelet");
		}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions