Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

[BUG] SwitchImpl.pushFlowMod() throw NullPointerException #273

Open
czeni opened this issue Apr 16, 2014 · 0 comments
Open

[BUG] SwitchImpl.pushFlowMod() throw NullPointerException #273

czeni opened this issue Apr 16, 2014 · 0 comments

Comments

@czeni
Copy link

czeni commented Apr 16, 2014

ps = conn.prepareStatement(SCOOKIE); 

should change to

ps = conn.prepareStatement(SCOOKIE, Statement.RETURN_GENERATED_KEYS);

else

set = ps.getGeneratedKeys();
set.next();

will throw NullPointerException

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant