Pinned topic Why MessageDialog throws NullPointerException in my Transformation Plug-in?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
I'm using Transformation Plug-in to convert one model to another model. The old code is using JOptionPane.showOptionDialog to show message to users. I want to replace JOptionPane.showOptionDialog with MessageDialog. But when invoking MessageDialog.openInformation, it throws NullPointerException. Can anyone help me out?