New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error trying to run samples #9
Comments
Hm. Interesting. JFXtras uses the samples framework from ControlsFX, and this is the fxsampler trying to dynamically find samples to show. Apparently it runs into a file permission problem on Centos. I'll ask Jonathan if he has encountered this before. |
Hello tbee, thanks for your time! After you said that JFXtras uses the same ControlsFX's framework, I know I have ControlsFX and 2 days ago I had tried it, so I tried again and this gave me same error, but only 1 page of errors, than I tried JFXtras again and it starts after tons of errors, I mean more than 30 pages, more or less, when I saw the errors I pressed ctrl+c to stop, that is why never works. The errors are like this: ERROR: Initial filename: org/tmatesoft/svn/core/wc/ISVNChangelistHandler.class MUCH MORE LIKE THOSES!!! |
I can see what happens if I upgrade FXSampler, but it really is not JFXtras causing them, because those classes are about SVN...? |
It is not only SVN only, it is: ERROR: Class name: org.apache.subversion.javahl.callback.StatusCallback ERROR: Class name: org.eclipse.equinox.internal.simpleconfigurator.manipulator.SimpleConfiguratorManipulatorFactoryImpl ERROR: Class name: org.eclipse.jdt.internal.launching.VMListener ERROR: Class name: org.jfree.data.general.DefaultValueDataset ERROR: Class name: org.eclipse.emf.ecore.xml.type.util.XMLTypeResourceImpl ERROR: Class name: org.apache.batik.css.engine.SVGCSSEngine ERROR: Class name: org.eclipse.core.internal.net.WindowsProxyProvider ERROR: Class name: org.eclipse.ecf.internal.provider.filetransfer.httpclient4.CloseMonitoringSocket AND MORE! I think it is the framework you guys uses to build the samples, cos' ControlsFX shows some identical errosrs, but not that much! The JFXtras samples works! |
As said: it seems FXSample is scanning the whole classpath for samples; eclipse, jfree, batik, and running into errors doing so. |
Jonathan asks if you would want to file this issue on ControlsFX, so they can track the resolution. |
Still while running samples:
|
I am getting problem trying to run java -jar F:\jfxtras-labs-samples-8.0-r6-SNAPSHOT-shadow.jar, as you guys stated on http://jfxtras.org.
C:\Users\MJRN>java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
C:\Users\MJRN>java -jar F:\jfxtras-labs-samples-8.0-r6-SNAPSHOT-shadow.jar
Error: Unable to access jarfile F:\jfxtras-labs-samples-8.0-r6-SNAPSHOT-shadow.jar
C:\Users\MJRN>java -jar F:\jfxtras-labs-samples-8.0-r6-SNAPSHOT-all.jar
Initialising FXSampler sample scanner...
Discovering projects...
Found project 'JFxtras', with sample base package 'jfxtras.samples'
Found project 'JFxtrasLabs', with sample base package 'jfxtras.labs.samples'
java.nio.file.AccessDeniedException: Ambiente de impressão
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsDirectoryStream.(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.newDirectoryStream(Unknown Source)
at java.nio.file.Files.newDirectoryStream(Unknown Source)
at java.nio.file.FileTreeWalker.visit(Unknown Source)
at java.nio.file.FileTreeWalker.next(Unknown Source)
at java.nio.file.Files.walkFileTree(Unknown Source)
at java.nio.file.Files.walkFileTree(Unknown Source)
at fxsampler.util.SampleScanner.scanPath(SampleScanner.java:174)
at fxsampler.util.SampleScanner.loadFromPathScanning(SampleScanner.java:156)
at fxsampler.util.SampleScanner.discoverSamples(SampleScanner.java:72)
at fxsampler.FXSampler.start(FXSampler.java:106)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162 auncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
at java.lang.Thread.run(Unknown Source)
In Centos 7 I got even worse infinite error loop!
Where am I wrong??? Can somebody guide me to how run this as easy as possible.
The text was updated successfully, but these errors were encountered: