Closed teclu closed 7 years ago
Both your computer and AppVeyor are Windows-based, but Travis is Unix-based. Look for OS-sensitive code in your PR, such as hard-coded file paths.
Hi Prof, thanks for the quick response!
I do have a hard-coded file path (the only one in fact) in one of my classes here. If that is the case, must I ensure that this URL path works on both Windows and Unix?
Yes, try to get it working on both platforms if possible. See if you can reproduce the error by running tests in the git-bash shell (the terminal window that comes with SourceTree) in headless mode. That shell has Unix-like behaviors.
After much time spent, my PR is finally passing Travis CI's checks! 😀 It wasn't just the file path that was giving the problem; there were many other small problems in my code. Thanks for the help!
Relevant Links
Hi everyone,
I've been getting these weird exception errors (namely java.lang.RuntimeException, caused by java.util.concurrent.ExecutionException, java.lang.ExceptionInInitializerError and java.awt.HeadlessException) all over my log, even though I did not modify most of the files that are having these problems. However, I'm passing everything on Intellij (on Windows) and AppVeyor.
I've tried enabling and disabling headless mode and rebuilding Travis, but to no avail.
Any help would be much appreciated!