-
Notifications
You must be signed in to change notification settings - Fork 32
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
Latest release not running properly on Eclipse? #115
Comments
Seems like the command classes aren't being found, and the crash is caused by trying to remove an item from an empty list. @Sergix @DataSecs I have no idea how the classes get loaded, any ideas? May just have to do with using the wrong path to load them or something... There is a note on line 141 that says there is a similar issue on a Linux distro. |
@lshaqldris Try working off of the |
From what I can tell, that specific line has been changed/removed since the last push to master. |
is there any news as to how to make it run? |
Do you have the same issue as @lshaqldris , @jakers821? |
I am getting this error: Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 |
Yeah, that’s basically the same issue. This means you’re working off of the master branch currently. To run it, switch to the dev branch and everything should be good. If this doesn’t work, please provide another stacktrace. Thanks, and reply back with your result! 😄 |
Thanks that worked! |
I moved to the dev branch, the terminal opens now but the commands don't appear to work still? |
Same issue here. |
@IshaqIdris @jakers821 Try the following command from your systems terminal: |
@Sergix here's what happens when I run the build in headless mode https://pasteboard.co/HjnLWMk.png , is this the expected behaviour? |
No, sadly it’s not haha. It does seem to load correctly, but I suppose command input as a whole is somewhat broken. I’ll look around and see what I can find. I’ll reply back soon, and if at all possible you could perhaps test a couple things for me since I don’t have a Mac. @jakers821 , what OS are you on? |
@Sergix just running the build JAR appears to work https://pasteboard.co/HjnPbyq.png , and yea I don't mind testing some things for you |
Hm ok, that’s odd... |
@IshaqIdris Ok, I just pushed a commit on the |
@Sergix I ran the new commit, the test line prints out true as shown by this screenshot https://pasteboard.co/HjyzlzR.png and also shows the output when I run a command |
Ok, thank you. So I’m trying to figure out, when you enter a command, are you entering |
@Sergix Nope just |
Hm. Ok, well I just pushed another commit for a little more testing. Just run the jar as you have been, in headless mode. Now, when you are typing in the input there will be some output that will appear as you are typing. Try to ignore this and enter the command as usual. Probably best just to type |
@Sergix this is the result of running your latest commit https://pasteboard.co/HjHypSq.png |
Huh... Well it seems command input is totally broken on Mac haha. Would you like an invite to our Slack channel? It would make communication easier with fixing this rather than filling up a GitHub issue conversation. All I need to do is send you an email, if that's fine. |
Thanks @lbenedetto! View changelog entry Sergix#115 for details.
View changelog entry Sergix#115 for details.
Subject of the issue
Ran JTerm.java as Java application in Eclipse. Got error on line 142 of JTerm.java. Commented out the line and the program ran but no commands worked or were recognised in the terminal.
Your environment
Steps to reproduce
Created new project in Eclipse by downloading source code zip, and ran JTerm.java as java application.
Expected behaviour
Program should have run with commands, as the runnable JAR works fine.
Actual behaviour
With line 142 in JTerm.java the program crashes with a index out of bound error.
When commented out the program runs but no commands are recognised in the terminal application.
The text was updated successfully, but these errors were encountered: