Print at Dec 29, 2025, 1:55:15 AM

Posted by mumon66 at Nov 6, 2017, 12:17:20 PM
sad   Re: Online (Java Web Start) not working.
You're right, Java Web Start and not Online.

Permissions on xprop are already set:

$ ls -la /usr/bin/xprop
-rwxr-xr-x 1 root root 37912 May 6 2015 /usr/bin/xprop

Mysterious, but that's not the issue: I have tested javaws the same under Arch Linux, where there's no /usr/bin/xprop; "cannot access" is thrown, but then everything works OK.

I've gone a bit further by launching:

javaws -noupdate -verbose -jnlp "http://www.sweethome3d.com/SweetHome3D.jnlp"

After a couple of minutes and tons of messages, I get this messages:


Selected proxies: [HTTP @ localhost/127.0.0.1:3128]
call privileged method: addSingleInstanceListener
arg: com.eteks.sweethome3d.SweetHome3D$3@57ca7116
result: null
Starting SingleInstanceServer on portServerSocket[addr=localhost/127.0.0.1,localport=46523]
Exception in thread "AWT-EventQueue-1" java.lang.ExceptionInInitializerError
at com.eteks.sweethome3d.swing.HomePane.checkClipboardContainsHomeItemsOrFiles(Unknown Source)
at com.eteks.sweethome3d.swing.HomePane.access$2800(Unknown Source)
at com.eteks.sweethome3d.swing.HomePane$65.flavorsChanged(Unknown Source)
at com.eteks.sweethome3d.swing.HomePane.addClipboardListener(Unknown Source)
at com.eteks.sweethome3d.swing.HomePane.<init>(Unknown Source)
at com.eteks.sweethome3d.swing.SwingViewFactory.createHomeView(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController.getView(Unknown Source)
at com.eteks.sweethome3d.HomeFramePane.<init>(Unknown Source)
at com.eteks.sweethome3d.HomeFrameController.getView(Unknown Source)
at com.eteks.sweethome3d.HomeFrameController.displayView(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D$4.collectionChanged(Unknown Source)
at com.eteks.sweethome3d.model.CollectionChangeSupport.fireCollectionChanged(Unknown Source)
at com.eteks.sweethome3d.model.HomeApplication.addHome(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.showDefaultHomeFrame(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.start(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D$5.run(Unknown Source)
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)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com/eteks/sweethome3d/swing/HomeTransferableList
at com.eteks.sweethome3d.swing.HomeTransferableList.<clinit>(Unknown Source)
... 30 more
Caused by: java.lang.ClassNotFoundException: com/eteks/sweethome3d/swing/HomeTransferableList
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at java.awt.datatransfer.DataFlavor.tryToLoadClass(DataFlavor.java:163)
at java.awt.datatransfer.DataFlavor.initialize(DataFlavor.java:537)
at java.awt.datatransfer.DataFlavor.<init>(DataFlavor.java:501)
... 31 more


Then, nothing more happens, although javaws doesn't end.

So, it opens a listener on localhost port 46523 (yes, I have a cntlm running on port 3128 and no, enabling direct connection has no effect), but then... what's happening?

I hate Java... shock