Forum Discussion

adantart's avatar
adantart
Occasional Contributor
14 years ago

Problems with Mac (cannot create web page runners boxes)

Hi:

Since one month ago, loadUI stopped to work.

I have last Java update for Mac: JRE 1.6.0_24-b07-334-10M3326 Java HotSpot(TM) 64-Bit Server VM

With 1.0.1, it's not starting anymore ... the Java console says this:

ERROR: Error starting file:/Applications/loadUI/bundle/loadui-soapui-plugin-3.6.1.jar (org.osgi.framework.BundleException: Activator start error in bundle com.eviware.soapui.loadui-soapui-plugin [30].)
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:3678)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:1857)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1779)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1188)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.SecurityException: Permission denied: http://felix.extensions:9/org/slf4j/imp ... nder.class
at com.sun.deploy.security.DeployURLClassPath$UrlLoader.findResource(DeployURLClassPath.java:535)
at com.sun.deploy.security.DeployURLClassPath$1.next(DeployURLClassPath.java:258)
at com.sun.deploy.security.DeployURLClassPath$1.hasMoreElements(DeployURLClassPath.java:269)
at java.net.URLClassLoader$3$1.run(URLClassLoader.java:416)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader$3.next(URLClassLoader.java:413)
at java.net.URLClassLoader$3.hasMoreElements(URLClassLoader.java:438)
at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:27)
at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:36)
at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:27)
at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:36)
at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:27)
at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:36)
at org.slf4j.LoggerFactory.singleImplementationSanityCheck(LoggerFactory.java:216)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:110)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
at com.eviware.loadui.components.soapui.SoapUIComponentActivator.<clinit>(SoapUIComponentActivator.java:55)
... 12 more
ShellTUI: No standard input...exiting.
-> Framework started!

appearing the splash screen but hanging there. I saw this post (https://www.eviware.com/forum/viewtopic.php?f=12&t=7333) and then I gave to ~/.load.ui folder even recursive 777 permissions, but still the same Java error.

----

Then I realiced you wrote an update (http://www.loadui.org/News/loadui-for-the-mac-update.html). With last night build 1.0.2 (right today), the software starts perfectly ... I can create a project, testcases, generator, analysis boxes ... but I can not create web page runners boxes.

I drag the runner box and drop in empty space, it appears the icon as it's thinking, but after 1 second, the box is not rendered.

Weird thing is that I can create Soap UI runners ... so web page runners are the only ones not working.
Java console does not give any error.

Thank you !
  • Please try the newest nightly build (just fixed this -- I hope)!

    I the problem persists, you can change these rows in log4j.xml in the loadUI directory:
     <logger name="com.eviware.loadui" additivity="false">
    <level value="INFO" />

    to this: I the problem persists, you can change these rows in log4j.xml in the loadUI directory:
     <logger name="com.eviware.loadui" additivity="false">
    <level value="DEBUG" />


    /Henrik
    eviware.com
  • adantart's avatar
    adantart
    Occasional Contributor
    Hi:

    I downloaded the last night build:
    loadUI_macos_1_0_2-SNAPSHOT.dmg 03-May-2011 03:50 76M
    and the problem persisted.

    Then I changed what you said, but the problem persisted again.

    Below you can see the log of Java Console ...

    The steps are:

    - download the night build
    - remove manually the previous version (all folder)
    - install
    - open the load ui
    - create a new project
    - try to drag the web page runner

    as I posted in the first post, it does not show the box ... the mouse cursor turns to "blue round wheel" for 1 second, and then come back to normal cursor again.

    Launching loadUI Build: loadUI-2011-05-03-[2] 2011/05/03 03:29
    Configuring log4j from [/Applications/loadUI/soapui-log4j.xml]
    12:52:07,586 WARN [SoapUI] Missing folder [/Applications/loadUI/./ext] for external libraries
    12:52:07,588 INFO [DefaultSoapUICore] Creating new settings at [/Users/naiad/soapui-settings.xml]
    12:52:08,682 WARN [SoapUIProGroovyScriptEngineFactory] Missing scripts folder [/Applications/loadUI/scripts]
    12:52:08,723 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xop.xsd with targetNamespace http://www.w3.org/2004/08/xop/include
    12:52:08,779 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/XMLSchema.xsd with targetNamespace http://www.w3.org/2001/XMLSchema
    12:52:08,782 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xml.xsd with targetNamespace http://www.w3.org/XML/1998/namespace
    12:52:08,783 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/swaref.xsd with targetNamespace http://ws-i.org/profiles/basic/1.1/xsd
    12:52:08,785 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xmime200505.xsd with targetNamespace http://www.w3.org/2005/05/xmlmime
    12:52:08,786 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/xmime200411.xsd with targetNamespace http://www.w3.org/2004/11/xmlmime
    12:52:08,789 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEnvelope.xsd with targetNamespace http://schemas.xmlsoap.org/soap/envelope/
    12:52:08,798 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEncoding.xsd with targetNamespace http://schemas.xmlsoap.org/soap/encoding/
    12:52:08,800 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEnvelope12.xsd with targetNamespace http://www.w3.org/2003/05/soap-envelope
    12:52:08,806 INFO [SchemaUtils] Added default schema from /com/eviware/soapui/resources/xsds/soapEncoding12.xsd with targetNamespace http://www.w3.org/2003/05/soap-encoding
    ShellTUI: No standard input...exiting.
    log4j:WARN No appenders could be found for logger (org.springframework.osgi.extender.internal.activator.ContextLoaderListener).
    log4j:WARN Please initialize the log4j system properly.
    log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
    -> Framework started!
    Registered descriptor: soapUI Runner
    Registered descriptor: soapUI MockService
    Registered descriptor: Assertion
    Registered descriptor: Delay
    Registered descriptor: Fixed Load
    Registered descriptor: Fixed Rate
    Registered descriptor: Interval
    Registered descriptor: Ramp
    Registered descriptor: Random
    Registered descriptor: Scheduler
    Registered descriptor: Splitter
    Registered descriptor: Statistics
    Registered descriptor: Table Log
    Registered descriptor: Variance
    Registered descriptor: Virtual Users
    Registered descriptor: Web Page Runner
    12:52:14,473 INFO [WsdlProject] Loaded project from [file:/Applications/loadUI/samples/getting-started-soapui-project.xml]
    12:52:14,679 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:14,680 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:16,532 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:16,532 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:17,644 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:17,646 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:17,667 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:17,667 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:17,747 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:17,747 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:19,901 INFO [HttpClientSupport$Helper] Updating keyStore..
    12:52:19,902 INFO [HttpClientSupport$Helper] Updating keyStore..
  • adantart's avatar
    adantart
    Occasional Contributor
    Btw ... I also see the popup window saying "Please wait, creating component" ... but it's a microsecond
    Hope it helps