java -Djava.net.preferIPv4Stack=true -classpath .;lib;./target/classes;./lib/appframework.jar;./lib/concurrent.jar;./lib/java-getopt.jar;./lib/log4j.jar;./lib/opencsv.jar;./lib/swing-layout.jar;./lib/swing-worker.jar;./lib/javolution.jar;./lib/stream.jar;./lib/asn.jar;./lib/mtp-api.jar;./lib/sccp-api.jar;./lib/sccp-impl.jar;./lib/tcap-api.jar;./lib/tcap-impl.jar;./lib/map-api.jar;./lib/map-impl.jar;./lib/m3ua-api.jar;./lib/m3ua-impl.jar;./lib/ussd-simulator.jar org.mobicents.protocols.ss7.ussdsimulator.UssdsimulatorApp
The simulator and mobicents IP's and ports are configured, but the keypad is disabled. Any idea what could cause this? Attached is the screenshot.
Also, when i click on the "Stop Simulator" button, i get a NPE in the console, trace below.
java.lang.NullPointerException
at org.mobicents.protocols.ss7.ussdsimulator.UssdsimulatorView.terminateSS7(UssdsimulatorView.java:1078)
at org.mobicents.protocols.ss7.ussdsimulator.UssdsimulatorView.resetServer(UssdsimulatorView.java:1101)
at org.mobicents.protocols.ss7.ussdsimulator.UssdsimulatorView._button_close_serverActionPerformed(UssdsimulatorView.java:731)
at org.mobicents.protocols.ss7.ussdsimulator.UssdsimulatorView.access$1900(UssdsimulatorView.java:75)
at org.mobicents.protocols.ss7.ussdsimulator.UssdsimulatorView$19.actionPerformed(UssdsimulatorView.java:450)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.awt.EventQueue$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
In the documentation, the screenshots show "Peer IP" and "Peer Port" configuration with "Open Server" and "Close Server" buttons. These do not exist in this GUI, maybe the documentation or the code is outdated?
Please advise...