prasannakadam / rest-client

Automatically exported from code.google.com/p/rest-client
0 stars 0 forks source link

Application not starting in Leopard (Mac OS X) #82

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

java -jar /Users/joes/Downloads/restclient-ui-2.3-b1-jar-with-dependencies.jar

What is the expected output? 

http://www.flickr.com/photos/subwiz/2865055073/

What do you see instead?

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 
java.util.Properties.stringPropertyNames()Ljava/util/Set;
        at jsyntaxpane.DefaultSyntaxKit.initKit(DefaultSyntaxKit.java:233)
        at jsyntaxpane.DefaultSyntaxKit.<clinit>(DefaultSyntaxKit.java:70)
        at org.wiztools.restclient.ui.JSyntaxPaneScriptEditor.<init>(JSyntaxPaneScriptEditor.java:16)
        at 
org.wiztools.restclient.ui.ScriptEditorFactory.getXMLScriptEditor(ScriptEditorFa
ctory.java:14)
        at org.wiztools.restclient.ui.RESTView.<init>(RESTView.java:91)
        at org.wiztools.restclient.ui.RESTMain.init(RESTMain.java:330)
        at org.wiztools.restclient.ui.RESTMain.<init>(RESTMain.java:69)
        at org.wiztools.restclient.ui.Main$1.run(Main.java:55)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

What version of the product are you using? 

2.3-b1

On what operating system?

Mac OS X Version 10.5.6

$ java -version 

java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)

Original issue reported on code.google.com by joe.sipo...@gmail.com on 4 Feb 2009 at 3:41

GoogleCodeExporter commented 8 years ago
Switching to Java 6 using the Utilities -> Java -> Java Preferences tool fixed 
this for me.

Original comment by joe.sipo...@gmail.com on 4 Feb 2009 at 4:06

GoogleCodeExporter commented 8 years ago
Please update to Java 6. It will work.

Original comment by subwiz on 4 Feb 2009 at 7:15

GoogleCodeExporter commented 8 years ago
http://code.google.com/p/rest-client/issues/detail?id=80

This also provides info on how to switch to Java 6 JVM in Mac.

Original comment by subwiz on 4 Feb 2009 at 7:18

GoogleCodeExporter commented 8 years ago
Closing issue.

Original comment by subwiz on 10 Feb 2009 at 8:39