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
RoboVM java.lang.IllegalArgumentException: unexpected url. #215
Comments
It would seem the error is here:
This creates a null URI only on RoboVM.
I'd like to download the library and modify it but that's broken too. |
Fellow RovoVM user here! Why not just use a String, at least for now? |
I did try lots of variations of strings with no success, exactly the same error. I even tried manually building a URI
Still gives the same error :-( |
Have you tried stepping through the part where it crashes using the debugger? (if you have the paid version) |
I got a feeling it will lead me too the same stack trace though, it seems no matter what I put when creating a new socket in this library it crashes for iOS. I'd like to download the library and modify it but I spent all morning just trying to get it working with no success. Any ideas? |
Just put a breakpoint just before the problem, and click the debug button. It integrates with the IDE's debugger, at least on IntelliJ. |
I've submitted a cross platform app example that works on Desktop, Android but not IOS here: |
Wouldn't this be more of an issue of RoboVM not properly generating the iOS? |
Also, on what arch are you running the iOS one on? It could be a problem with that specific architecture. |
archs = 'arm64:thumbv7' |
Flagged an issue here. |
It seems to be an issue with the web sockets class in this library but I can't figure it out. |
See Stefan's response to this thread and see if that fixes your problem https://groups.google.com/forum/#!topic/robovm/m3XC_LdBVpU |
Fixed in RoboVM 1.9 |
@voidstarfire 👍 great |
I'm using this excellent implementation of sockets for my cross-platform projects, keep up the good work!
BUT! I know there's no real support for it and it's probably not in you're scope but my problem is I'm using RoboVM to compile my Java code into machine code for iOS, everything works perfect except something is broken on the connection with this library.
I'm using this implementation
I get the following error:
If anyone would have any ideas? tried compiling with:
The text was updated successfully, but these errors were encountered: