-
Notifications
You must be signed in to change notification settings - Fork 45
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
Crash on Connect (ExceptionInInitializerError) #49
Comments
Hi, In the log you can see that the path for the jar where it tries to load converters from is incorrect: '/Users/myname/Downloads/h-rider-1.0.8.0-hbase-0.94.1/Users/myname/Downloads/h-rider-1.0.8.0-hbase-0.94.1/h-rider-1.0.8.0.jar'. It was duplicated by some reason. You can create this path and copy there the jar so it will find it. Did you have similar problem in previous versions? |
I did some testing and here is something I found. If I add a "/" to filePath it works for me on my Mac: file: hrider.reflection.JavaPackage line: 91
I traced through the code and the root of the problem appears to be in "hrider.io.PathHelper.normalise(String)" when it removes the leading "/". But I am not sure what all the path manipulation is about so it is likely to cause some other problem if I just remove that code. |
Hi Chris, Thanks for pointing me out to the root cause. I did some changes in the PathHelper and JavaPackage classes and updated the zip files so hopefully it should work now. I will really appreciate if you download the last release (the same you downloaded before 1.0.8.0) and try it again on your MAC. Let me know if the problem was fixed. Thanks, |
I checked out "ab68eb2069a3475c43fea3c10946398c4f288b5f" and ran it. I still see the same error. Here is the console output:
|
I did a little more debugging and here is what I see. Fail Case:
The error I get is the previously mentioned stack trace. Success Case:
This method will work just fine. ThoughtsAgain I am not 100% just what all the path and classpath stuff is doing in HRider but it appears something is not getting setup properly. I do know that when you run "java -jar ..." that and "-classpath" arguments are ignored. Not sure if this is related somehow. Also, I tried this path with the latest code base and it no longer solves the error:
|
Hi Chris, Thanks for your time and help. I think I found a problem. I checked in the fix and hope it will work fine now. In addition I added an ability to see metadata tables so you might want to check it out. Thanks. |
Sorry for the slow reply. Yes, I was able to confirm this morning that HRider is working properly on MAC now. Thank you Igor. |
HRider crashes every time I try and connect to my remote HBase server.
Steps to reproduce
This is how I reproduce the problem:
1 install HRider from 28 August, 2013: Release 1.0.8.0 available (with dependencies) - http://bit.ly/15g13BO
2 Run "java -jar h-rider-1.0.8.0.jar"
3 Enter my hbase server address "hbase01.mydomain.net"
4 App crashes with the following stack trace
I tried this on 5 other machines and the same crash happens on each.
h-rider-all.log
Empty
h-rider.log
Console
System Info
Java Version
OS
Mac Book Pro OSX 10.8.4
The text was updated successfully, but these errors were encountered: