-
Notifications
You must be signed in to change notification settings - Fork 715
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
Got error exception when trying to run FitNesse server from Eclipse IDE localhost #1302
Comments
Some questions:
|
From the screenshot I gather Java 8 is used. I'll update the README to indicate this is indeed required.
|
Did Eclipse execute the gradle task I don't use Eclipse (I use IntelliJ community edition) when I try to start the main I see IntelliJ perform a gradle build first (ensuring all required work is done). Does Eclipse also do that also? The output I get before starting main:
Having said that, I never start FitNesse this way. I use the gradle task specific for that task (like @tcnh suggested): Does that work for you? Like I said I don't use Eclipse. If you get this to work, and it turns out extra steps are needed to run: can you maybe create a PR to update the README with better instructions for Eclipse? |
Hi @fhoeben , regarding your question i like to update some info below: |
Your screenshot suggests you are using Gradle 6.7. I haven't tested that version. |
Describe the bug
I followed the GUIDE in the https://github.com/unclebob/fitnesse#import-fitnesse-in-eclipse at below
Import FitNesse in Eclipse
When everything is done and I tried to run FitNesse form Eclipse IDE following below step, but it got error exception
To Reproduce
Steps to reproduce the behavior:
java.lang.NullPointerException: source
Expected behavior
FitNesse server should be start successful.
Screenshots
Sample Wiki Structure/content
If the problem has to do with how a file handled in the wiki or how it is parsed, please add a zip file containing files that demonstrate the problem.
Stack Trace
Loaded custom comparator inverse: fitnesse.slim.test.InverseComparator
Bootstrapping FitNesse, the fully integrated standalone wiki and acceptance testing framework.
root page: fitnesse.wiki.fs.FileSystemPage at .\FitNesseRoot#latest
logger: none
authenticator: fitnesse.authentication.PromiscuousAuthenticator
page factory: fitnesse.html.template.PageFactory
page theme: bootstrap
Unpacking new version of FitNesse resources. Please be patient...
SEVERE: Error while starting the FitNesse [source]
java.lang.NullPointerException: source
at java.util.Objects.requireNonNull(Unknown Source)
at java.util.Scanner.(Unknown Source)
at util.FileUtil.toString(FileUtil.java:112)
at fitnesse.updates.WikiContentUpdater.parseResource(WikiContentUpdater.java:150)
at fitnesse.updates.WikiContentUpdater.addAllFilesToBeUpdated(WikiContentUpdater.java:126)
at fitnesse.updates.WikiContentUpdater.makeAllUpdates(WikiContentUpdater.java:108)
at fitnesse.updates.WikiContentUpdater.performAllupdates(WikiContentUpdater.java:89)
at fitnesse.updates.WikiContentUpdater.update(WikiContentUpdater.java:39)
at fitnesseMain.FitNesseMain.update(FitNesseMain.java:119)
at fitnesseMain.FitNesseMain.launchFitNesse(FitNesseMain.java:83)
at fitnesseMain.FitNesseMain.launchFitNesse(FitNesseMain.java:59)
at fitnesseMain.FitNesseMain.main(FitNesseMain.java:39)
Configuration:
Additional context
The text was updated successfully, but these errors were encountered: