Skip to content
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

"String input must not be null" #54

Closed
freedome97 opened this issue Jan 8, 2021 · 7 comments
Closed

"String input must not be null" #54

freedome97 opened this issue Jan 8, 2021 · 7 comments

Comments

@freedome97
Copy link

In a recent issue (#52 ), the login for KIT Illias wasn't working. Thankfully it got patched and seems to work.

But I compiled the new source code and since then I receive an Null-String Error while the structure is building.
Tried to backtrace and fix it but did not find the solution. Any ideas?

StringNull

@DeOldSax
Copy link
Owner

DeOldSax commented Jan 8, 2021

  • which branch are you trying to build?
  • against which jdk version?
  • did you try to delete the settings folder? --> C:\Users\%USERNAME%\.ilias

@freedome97
Copy link
Author

Sorry, forgot to mention those. This is my first issue on GitHub.

  • I built the "develop" branch since it´s the only one with the fix for "KIT Illias"
  • echo %java_home% >> jdk1.8.0_271
  • Yes, and it threw more errors, saying that it´s missing those files:
    FileMissing

@DeOldSax
Copy link
Owner

DeOldSax commented Jan 8, 2021

looks good - if you start again the errors should go away (they are not a problem at all;))
does it work now?

@freedome97
Copy link
Author

freedome97 commented Jan 8, 2021

Yeah I know, just a hint for eventual except-handlers :D
And No :/ The "Refresh"-Button will keep spinning and nothings happens (No displayed courses or downloadable content).
Everything worked just fine before KIT changed their login thingy.

Edit: Also does the "String Null" Error remain.

@freedome97
Copy link
Author

Update: This is odd. It seems like the String is Null, since the parser can not find any "h4" references inside the document/webpage provided.

Interestingly, even tough the program says that I am "successfully logged in", the webpage it is parsing is the one from the University Konstanz and not Karlsruhe. Therefore lands on the main page and due to fail in login can not parse.

konstanz2

konstanz

Any idea how to fix this? Sadly, I have no idea in HTML programming or where this error could come from.
Greetings

@DeOldSax
Copy link
Owner

I guess there is the problem. Changing this params might not be that obvious from the documentation - should be added probably :)

@freedome97
Copy link
Author

I knew I had to change something, but did not find the second change I had to make.
Works now. Thanks for the help 👍 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants