JavaFX Composer : NumberFormatException at creating data source

  • From: Masaki Katakai < >
  • To:
  • Subject: JavaFX Composer : NumberFormatException at creating data source
  • Date: Tue, 16 Feb 2010 20:16:21 +0900

Hi,

I'm using JavaFX Composer Preview 2 on the following environment.

  NetBeans IDE 6.8 (Build 200912041610) + Patch1
  Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
  Mac OS X 10.5.8

I'm now trying to use a data source with twitter's json e.g.

  http://twitter.com/statuses/user_timeline/netbeans.json

It works when I tried "Fetch Data" on Data Source Customizer.
I can see the actual data.

However, when it's running as application, I'm seeing the
following exception and it seems that the data source object
is not created.

Any workaround?

Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input 
string: "9129814629"
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:461)
        at java.lang.Integer.valueOf(Integer.java:554)
        at javafx.data.pull.PullParser.next(PullParser.fx:399)
        at javafx.data.pull.PullParser.parse(PullParser.fx:258)
        at 
org.netbeans.javafx.datasrc.Parsers$1StreamParser$anon2.parse(Parsers.fx:198)
        at 
org.netbeans.javafx.datasrc.Parsers$1StreamParser$anon2.parse(Parsers.fx:198)
        at 
org.netbeans.javafx.datasrc.HttpDataSource$3.lambda(HttpDataSource.fx:150)
        at 
org.netbeans.javafx.datasrc.HttpDataSource$3.lambda(HttpDataSource.fx:150)
        at 
org.netbeans.javafx.datasrc.HttpDataSource$3.invoke(HttpDataSource.fx:147)
        at 
org.netbeans.javafx.datasrc.HttpDataSource$3.invoke(HttpDataSource.fx:147)
        at 
org.netbeans.javafx.datasrc.HttpDataSource$3.invoke(HttpDataSource.fx:147)
        at 
org.netbeans.javafx.datasrc.HttpDataSource$3.invoke(HttpDataSource.fx:147)
        at javafx.io.http.HttpRequest.impl_setInput(HttpRequest.fx:1168)
        at 
com.sun.javafx.io.http.impl.CallbackHandler.setInput(CallbackHandler.fx:39)
        at 
com.sun.javafx.io.http.impl.BaseTask$ReadNotifier.run(BaseTask.java:166)
        at 
com.sun.javafx.io.http.impl.desktop.DesktopProfile$3.invoke(DesktopProfile.java:167)
        at 
com.sun.javafx.io.http.impl.desktop.DesktopProfile$3.invoke(DesktopProfile.java:166)
        at com.sun.javafx.runtime.Entry$2.run(Entry.java:105)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
        at 
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
        at 
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
        at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
        at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Regards,
Masaki



JavaFX Composer : NumberFormatException at creating data source

Masaki Katakai 02/16/2010

Re: JavaFX Composer : NumberFormatException at creating data source

Maros Sandor 02/16/2010

Re: JavaFX Composer : NumberFormatException at creating data source

Masaki Katakai 02/17/2010

Project Features

About this Project

JavaFX was started in November 2009, is owned by psuchomel, and has 53 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close