Skip to content

Windows XP - C:\Documents File Not Found #98

Description

@romario89

On Windows XP Emacs-25.2 meghanada-1.2.0.jar and meghanada-20190526.548 I open a sample Java file to check meghanada. Meghanada starts and displays Please wait. Meghanada indexing ... But it doesn't diplay Meghanada ready
When I edit the file classnames and method names come as dropdown, i.e. meghanada works at least partially. But on the messages I see

WARN not match type
Error:File . Please check *meghanada-server-log*

and

Error:c:/Documents . Please check *meghanada-server-log*

On the meghanada-server-log there chunks of code like:

java.io.FileNotFoundException: File 'C:\Documents' does not exist
	at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:299) ~[meghanada-1.2.0.jar:?]
	at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1711) ~[meghanada-1.2.0.jar:?]
	at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1748) ~[meghanada-1.2.0.jar:?]
	at meghanada.server.CommandHandler.diagnostics(CommandHandler.java:115) ~[meghanada-1.2.0.jar:?]
	at meghanada.server.emacs.EmacsServer.lambda$dispatch$8(EmacsServer.java:148) ~[meghanada-1.2.0.jar:?]
	at com.leacox.motif.matching.Matching1.lambda$get$15(Matching1.java:45) ~[meghanada-1.2.0.jar:?]
	at com.leacox.motif.matching.Pattern$1.apply(Pattern.java:40) ~[meghanada-1.2.0.jar:?]
	at com.leacox.motif.matching.FluentMatchingR.getMatch(FluentMatchingR.java:118) ~[meghanada-1.2.0.jar:?]
	at meghanada.server.emacs.EmacsServer.dispatch(EmacsServer.java:350) ~[meghanada-1.2.0.jar:?]
	at meghanada.server.emacs.EmacsServer.lambda$acceptConnection$35(EmacsServer.java:436) ~[meghanada-1.2.0.jar:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_153]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_153]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_153]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_153]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_153]
[INFO ][EmacsServe: 352] receive [dl, C:\programs\java\sample\src\MySample.java, C:\Documents, and, Settings\IBMR61\Local, Settings\Temp\meghanada488kTN.java]. elapsed:1.675 ms

and

[INFO ][EmacsServe: 352] receive [dl, C:\programs\java\sample\src\MySample.java, C:\Documents, and, Settings\IBMR61\Local, Settings\Temp\meghanada488kTN.java]...

What should I do?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions