06-14-2011 11:39 PM
I've found only one other post which claims to have encountered this problem, and it had no replies. I'm hoping I just missed one in my search.
So I have a perfectly working application. Once I added the webtrends code to it, I not get this error message when trying to start my application. There is no breakpoint I can set that it will hit, but webtrends is obviously the source of the problem.
Has anyone encountered this before? I have to assume it is something in the loading the config file (or maybe the config file itself) but I don't really have any way to see what it might be.
Bill
06-15-2011 09:44 PM
I'm gonna put on my whining hat here for a moment. I can't believe that the analytics service is even available for public consumption. I've spent WAYtoo long just trying to use it and the errors that I get are so deep that I can't even start to figure out what the real problem is.
First, I get the 'Unable to find entry point' problem. The app works just fine until I add in the WebTrendsConfigurator code.
Now, I get this error:
Application Error - BlackBerry 9800 Simulator-----------------------------------------
WTF!?
I'm sure that I've done something wrong, but at this point I have no idea what. Regardless of what I have done wrong, I shouldn't be able to do ANYTHING that will mess things up this badly. I'm recommending this solution to my clients because one would assume its the best choice for the platform.
Is there a COMPELTE example out there? I havent found one. All we get are code snippets in the JavaDoc?
I'm using the 5.0 SDK with a Torch simulator and the .92 Beta sdk of the analytics.
06-16-2011 06:21 AM
06-16-2011 09:06 AM
I don't have the code in front of me at the moment, but I can tell you a couple things. I'm only using the Configurator code. None of the other code in the app is active, just the like to load the config.
I am executing the configurator command in the main() method.
I have the "packagename" set to the full classname of my app.
I renamed the config.xml to an app specific name and reference it in the configurator method call.
The xml file is located in the src folder with my main app .JAVA file.
I think the configurator method call may be correct. When I run the app, I have a breakpoint set on the load method, but it never gets hit. The whole simulator crashes (or I get the missing entry point error) before that can even happen. HOWEVER, when I take the method call out (and leave the library included in the project) everything runs fine.
So since it works fine with the library included (but not referenced) I don't think I have done anything wrong there. But, adding any code in which references the library causes the missing entry point error or JVM simulator crash.
LOL! I just found that the "resource list" on this page (http://docs.blackberry.com/en/developers/deliverab
06-16-2011 09:08 AM
06-16-2011 10:54 AM
I added the library in as an external JAR file in the project.
bill
06-16-2011 05:19 PM
06-17-2011 12:40 PM
I've sent a note to the docs team regarding those incorrect links.
If you've added the library to the project, you must make sure you are exporting it as well. If you don't export it and make a call to the API you're going to get these kinds of errors. It's got nothing to do with the Analytics SDK itself, but with the missing code that the JVM is trying to link to.
06-17-2011 09:47 PM
I was missing the Export checkbox. It still caused off errors on one computer, but when I moved the project over to another it worked just fine. I must have missed that particular line in the instructions. I don't know if there will ever be a time when you DONT want to export the lib, so I'm thinking that export should probably checked by default. It sure lead to a very confusing and frustrating experience for me.
Thank you both.Now I just have to see what the reporting is like on the data... ![]()