Forum Discussion

kfwilkinson's avatar
kfwilkinson
Occasional Contributor
7 years ago

Re: SoapUI 5.4.0 has Null Pointer Exception on startup on Mac High Sierra

No, nothing happens.  It fails to start at all.

  • kfwilkinson's avatar
    kfwilkinson
    Occasional Contributor

    Same problem with that download.  It throws an NPE and doesn't start.

  • donnydepp's avatar
    donnydepp
    Occasional Contributor

    Have you already opened the Logfiles in <SoapUI-Folder>/bin and read the Stacktrace?

    • kfwilkinson's avatar
      kfwilkinson
      Occasional Contributor

      There's no stack trace in any of the log files. Here's my original post which I accidentally put in the wrong forum...

      "Hello,

      When I go to start up SoapUI-5.4.0 I get this exception:

      15:34:38,372 INFO  [DefaultSoapUICore] initialized soapui-settings from [/Users/kwilkinson/soapui-settings.xml]
      15:34:38,383 INFO  [PluginManager] 0 plugins loaded in 0 ms
      15:34:38,383 INFO  [DefaultSoapUICore] All plugins loaded
      java.lang.NullPointerException
      	at java.awt.Window.init(Window.java:497)
      	at java.awt.Window.<init>(Window.java:537)
      	at java.awt.Frame.<init>(Frame.java:420)
      	at javax.swing.JFrame.<init>(JFrame.java:233)
      	at com.eviware.soapui.SoapUI.startSoapUI(SoapUI.java:865)
      	at com.eviware.soapui.SoapUI$SoapUIRunner.run(SoapUI.java:732)
      	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      	at java.awt.EventQueue.access$500(EventQueue.java:97)
      	at java.awt.EventQueue$3.run(EventQueue.java:709)
      	at java.awt.EventQueue$3.run(EventQueue.java:703)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
      	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

      I've tried setting the JAVA_OPTS to uncomment the -Dsoapui.browser.disabled=true, I've tried downloading and reinstalling the application, I've tried downloading the .zip file and launching it from the "soapui.sh" file in the .zip file.  None of these work.

      I've tried it with JRE 9.0.1 and JRE 1.8.0_161

      I'm on Mac, OS X 10.13.3."

       

       

      I found an older version of SoapUI, version 5.2.1, and gotten that to install and run. So I'll just stick with that. I don't need any of the newer features.

  • donnydepp's avatar
    donnydepp
    Occasional Contributor

    I just took a look at the Window.java Class.

    Maybe theres a problem with your graphic configuration.

     

    Do you have a headlessadapter plugged into one of your graphicports or virtual desktops?

     

     

    Btw. that below the NullpointerException is a stacktrace ;)

    • kfwilkinson's avatar
      kfwilkinson
      Occasional Contributor

      :) Thanks.

       

      I don't know what a "headless adapter" is...