Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null-pointer exception cascade #304

Open
Pytheas01 opened this issue Feb 16, 2015 · 0 comments
Open

Null-pointer exception cascade #304

Pytheas01 opened this issue Feb 16, 2015 · 0 comments

Comments

@Pytheas01
Copy link

The following code causes a cascade of null pointer exceptions in SymphonyTool 0.4.0.

channels
tick

class ClockSt = begin
 state
public s: nat

initial
    Init()
     frame wr s
     post s = 0

operations

public increment()
frame wr s
post s = s~ + 1

end

process SimpleClock = begin
state c: ClockSt
 actions
 Ticking = Wait 1; c.increment(); tick -> Skip
 @
 c := new ClockSt(); c.Init(); mu X @ (Ticking; X)
 end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant