sdmxdzb / rest-client

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

restclient crashes on start #172

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. download restclient-ui-3.1-jar-with-dependencies.jar
2. type java -jar restclient-ui-3.1-jar-with-dependencies.jar
3. observe error messages

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below1) Error notifying 
InjectionListener 
com.mycila.inject.injector.MethodHandlerTypeListener$1@2602585e of 
org.wiztools.restclient.ui.reqtest.RunTestDialog.
 Reason: sun.awt.X11.XException: Cannot write XdndAware property
  while locating org.wiztools.restclient.ui.reqtest.RunTestDialog
    for field at org.wiztools.restclient.ui.reqtest.ReqTestPanelImpl.jd_runTestDialog(ReqTestPanelImpl.java:25)
  while locating org.wiztools.restclient.ui.reqtest.ReqTestPanelImpl
  while locating org.wiztools.restclient.ui.reqtest.ReqTestPanel
    for field at org.wiztools.restclient.ui.RESTViewImpl.jp_req_test(RESTViewImpl.java:47)
  at org.wiztools.restclient.ui.RESTViewImpl.class(RESTViewImpl.java:47)
  while locating org.wiztools.restclient.ui.RESTViewImpl
    for field at org.wiztools.restclient.ui.RESTMain.view(RESTMain.java:36)
  at org.wiztools.restclient.ui.RESTMain.class(RESTMain.java:36)
  while locating org.wiztools.restclient.ui.RESTMain
  while locating org.wiztools.restclient.ui.RESTUserInterface
Caused by: sun.awt.X11.XException: Cannot write XdndAware property
    at sun.awt.X11.XDnDDropTargetProtocol.registerDropTarget(XDnDDropTargetProtocol.java:79)
    at sun.awt.X11.XDropTargetRegistry.registerDropSite(XDropTargetRegistry.java:554)
    at sun.awt.X11.XWindowPeer.addDropTarget(XWindowPeer.java:1633)
    at sun.awt.X11.XComponentPeer.addDropTarget(XComponentPeer.java:1509)
    at java.awt.dnd.DropTarget.addNotify(DropTarget.java:493)
    at java.awt.Component.addNotify(Component.java:6687)
    at java.awt.Container.addNotify(Container.java:2567)
    at javax.swing.JComponent.addNotify(JComponent.java:4685)
    at java.awt.Container.addNotify(Container.java:2578)
    at javax.swing.JComponent.addNotify(JComponent.java:4685)
    at java.awt.Container.addNotify(Container.java:2578)
    at javax.swing.JComponent.addNotify(JComponent.java:4685)
    at java.awt.Container.addImpl(Container.java:1068)
    at java.awt.Container.add(Container.java:927)
    at org.wiztools.restclient.ui.reqtest.RunTestDialog.init(RunTestDialog.java:100)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.mycila.inject.internal.Proxy$1$2.invoke(Proxy.java:50)
    at com.mycila.inject.jsr250.Jsr250PostConstructHandler.handle(Jsr250PostConstructHandler.java:50)
    at com.mycila.inject.jsr250.Jsr250PostConstructHandler.handle(Jsr250PostConstructHandler.java:37)
    at com.mycila.inject.injector.MethodHandlerTypeListener$1.afterInjection(MethodHandlerTypeListener.java:54)
    at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
    at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
    at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:737)
    at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
    at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:737)
    at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
    at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
    at org.wiztools.restclient.ServiceLocator.getInstance(ServiceLocator.java:19)
    at org.wiztools.restclient.ui.Main$1.run(Main.java:56)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:602)
    at java.awt.EventQueue$1.run(EventQueue.java:600)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

2) Error notifying InjectionListener 
com.mycila.inject.injector.MethodHandlerTypeListener$1@3b629e96 of 
org.wiztools.restclient.ui.RESTMain.
 Reason: java.lang.NullPointerException
  at org.wiztools.restclient.ui.RESTMain.class(RESTMain.java:36)
  while locating org.wiztools.restclient.ui.RESTMain
  while locating org.wiztools.restclient.ui.RESTUserInterface
Caused by: java.lang.NullPointerException
    at org.wiztools.restclient.ui.RESTMain.show(RESTMain.java:398)
    at org.wiztools.restclient.ui.RESTMain$$FastClassByMycila$$512c8149.invoke(<generated>)
    at com.mycila.inject.internal.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
    at com.mycila.inject.internal.Proxy$1$1.invoke(Proxy.java:40)
    at com.mycila.inject.jsr250.Jsr250PostConstructHandler.handle(Jsr250PostConstructHandler.java:50)
    at com.mycila.inject.jsr250.Jsr250PostConstructHandler.handle(Jsr250PostConstructHandler.java:37)
    at com.mycila.inject.injector.MethodHandlerTypeListener$1.afterInjection(MethodHandlerTypeListener.java:54)
    at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97)
    at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95)
    at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
    at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    at com.google.inject.Scopes$1$1.get(Scopes.java:65)
    at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:737)
    at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
    at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
    at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
    at org.wiztools.restclient.ServiceLocator.getInstance(ServiceLocator.java:19)
    at org.wiztools.restclient.ui.Main$1.run(Main.java:56)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:602)
    at java.awt.EventQueue$1.run(EventQueue.java:600)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

2 errors
    at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
    at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
    at org.wiztools.restclient.ServiceLocator.getInstance(ServiceLocator.java:19)
    at org.wiztools.restclient.ui.Main$1.run(Main.java:56)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
    at java.awt.EventQueue.access$000(EventQueue.java:84)
    at java.awt.EventQueue$1.run(EventQueue.java:602)
    at java.awt.EventQueue$1.run(EventQueue.java:600)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
.

Original issue reported on code.google.com by christin...@gmail.com on 24 May 2013 at 7:26

GoogleCodeExporter commented 8 years ago

Original comment by subwiz on 24 May 2013 at 7:43

GoogleCodeExporter commented 8 years ago
Seems to be Java issue as reported here:

https://netbeans.org/bugzilla/show_bug.cgi?id=193917

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7027598

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7100524

Please upgrade your Java version to the latest.

Original comment by subwiz on 29 May 2013 at 8:33