Re: How did you verified logs?
- From: Steven Herod <steven.herod@gmail.com>
- To: <jungeun.woo@sun.com>
- Cc: users@twitterfx.kenai.com
- Subject: Re: How did you verified logs?
- Date: Thu, 22 Jan 2009 21:07:41 +1100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=hqpPwEQI18tSa3fnjPkALbrJxX4nDKCaP0GA8sQ+IShqVyjbdh4wEPzWDvKu4uDnrU EScZ2QyxHawx5kHZlyRvUGM+zeQJfRmN0M4or7CL7MczFOqTTDROiXQVNxwb1BLLbdIr K7gnrhk4gqFwY1s0B0/MPakof/bTyQRa3NVQM=
Yep, the jnlp stuff is only initialized when you run it as a webstart app (which is what I do in debug).
You should probably mock out those calls for testing so you don't need jnlp services for it - or simply comment them out, jnlp provides the services for username saving, clipboard access and launching of default browser, none of which are essential for basic operation
I just turn on my Java console in Java preferences and watch the println's go to this console
Interactive debugging with JavaFX can be very frustrating, I've found the Netbeans debugger to be very hit and miss and have generally returned to printlns.
My work environment is Netbeans 6.5 on OSX, Java 1.5 (or 1.6). You have the netbeans project, so that should be all you need really.
I thought of something, if you can get a debug statement into StatusListParser you can see the tweets as they are decoding, there is a call in their for the tweet text called YCoding.xxxx which converts HTML encoded unicode to java unicode, I'm just wondering if things are an encoding issue with Java and character sets - and with your non- english Windows setup, something is happening there.
On 22/01/2009, at 7:25 PM, <jungeun.woo@sun.com> wrote:
By chance, I found remaining logs(using println(...)) but unable to see
the logs neither with Web Start Excution nor Run in Browser.
Currenlty, I have a friend on twitter, but when I login into the
twitter with twitterFX, I can't see anything(friend, massage,
favorite...). So I want to figure out what might me the problem. To do
that, I need to set the break point on the application or need to add
log so that I can trace the application.
- Would you please share your workenvironment and the way to print out
the logs if there is any?
- Would it possible for me to excute the application with Standard
Excution model? I got an following error that I can't figure out:
standard-run:
java.lang.ExceptionInInitializerError
Caused by: javax.jnlp.UnavailableServiceException: uninitialized
at javax.jnlp.ServiceManager.lookup(ServiceManager.java:44)
at twitterfx.Main.<clinit>(Main.fx:94)
at twitterfx.Main.<clinit>(Main.fx:94)
Could not find the main class: twitterfx.Main. Program will exit.
Exception in thread "main"
Exception in thread "main" BUILD FAILED (total time: 18 seconds)
I'm using NetBeans6.5 wih JavaFX SDK1.0.
Thanks,
Jungeun
|
Re: How did you verified logs? |
Steven Herod | 01/22/2009 |





