Topic
  • No replies
MichaelWang
MichaelWang
1 Post

Pinned topic Why MessageDialog throws NullPointerException in my Transformation Plug-in?

‏2010-09-17T03:08:37Z |
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?