java.lang.NumberFormatException: For input string: "${release}"

Pentaho BI Platform Tracking | David Kincade | 4 years ago
  1. 0

    When launching Spoon with the Weka plugins, the following error appears on the log (but the Time Series Forecasting Perspective appears to still work correctly): java.lang.NumberFormatException: For input string: "${release}" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at weka.core.Version.parseVersion(Version.java:115) at weka.core.Version.<clinit>(Version.java:64) at weka.core.Environment.<init>(Environment.java:67) at weka.core.Environment.<clinit>(Environment.java:43) at weka.core.WekaPackageManager.establishWekaHome(WekaPackageManager.java:108) at weka.core.WekaPackageManager.<clinit>(WekaPackageManager.java:95) at weka.core.Utils.readProperties(Utils.java:142) at weka.gui.visualize.VisualizeUtils.<clinit>(VisualizeUtils.java:54) at weka.gui.visualize.PrintableComponent.<clinit>(PrintableComponent.java:115) at weka.gui.ResultHistoryPanel.<init>(ResultHistoryPanel.java:128) at weka.classifiers.timeseries.gui.ForecastingPanel.<init>(ForecastingPanel.java:124) at org.pentaho.pdi.spoon.dm.forecasting.TimeseriesForecastingPluginPerspective.<init>(TimeseriesForecastingPluginPerspective.java:134) at org.pentaho.pdi.spoon.dm.forecasting.TimeseriesForecastingPluginPerspective.getSingleton(TimeseriesForecastingPluginPerspective.java:189) at org.pentaho.pdi.spoon.dm.forecasting.TimeseriesForecastingPlugin.getPerspective(TimeseriesForecastingPlugin.java:42) at org.pentaho.di.ui.spoon.SpoonPluginManager.loadPlugin(SpoonPluginManager.java:90) at org.pentaho.di.ui.spoon.SpoonPluginManager.<init>(SpoonPluginManager.java:70) at org.pentaho.di.ui.spoon.SpoonPluginManager.<clinit>(SpoonPluginManager.java:61) at org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:747) at org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:8272) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.window.Window.open(Window.java:785) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8303) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at apple.launcher.LaunchRunner.run(LaunchRunner.java:116) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52) Refreshing GOE props... ---Registering Weka Editors---

    Pentaho BI Platform Tracking | 4 years ago | David Kincade
    java.lang.NumberFormatException: For input string: "${release}"
  2. 0

    how to find nodes by row key?

    Google Groups | 3 years ago | Daneel Yaitskov
    org.apache.cassandra.serializers.MarshalException: unable to make int from '12:dd:dd'
  3. 0

    Bug 132090 – java.lang.NumberFormatException: For input string: "4294967295"

    netbeans.org | 1 year ago
    java.lang.NumberFormatException: For input string: "4294967295"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NumberFormatException : table view not displayed

    YouTrack | 2 years ago
    java.lang.NumberFormatException: For input string: "4294967295"
  6. 0

    We have custom implementation for ListModel witch also implement List interface. But when I try to access property (in ZUL) I get: {code} java.lang.NumberFormatException: For input string: "myProperty" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.zkoss.zel.ListELResolver.coerce(ListELResolver.java:173) at org.zkoss.zel.ListELResolver.getValue(ListELResolver.java:52) at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:67) at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:72) at org.zkoss.bind.xel.zel.BindELResolver.getValue(BindELResolver.java:76) at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:177) at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:189) at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:40) at org.zkoss.bind.impl.BindEvaluatorXImpl.getValue(BindEvaluatorXImpl.java:43) at org.zkoss.bind.impl.LoadPropertyBindingImpl.load(LoadPropertyBindingImpl.java:58) at org.zkoss.bind.impl.PropertyBindingHandler.doLoadBinding(PropertyBindingHandler.java:171) at org.zkoss.bind.impl.PropertyBindingHandler.doLoad(PropertyBindingHandler.java:372) at org.zkoss.bind.impl.BinderImpl.loadComponentProperties(BinderImpl.java:1839) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1816) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1819) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1819) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1819) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1819) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1819) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1819) at org.zkoss.bind.impl.BinderImpl.loadComponent(BinderImpl.java:1819) at org.zkoss.bind.BindComposer$BinderKeeper$Loader.load(BindComposer.java:468) at org.zkoss.bind.BindComposer$BinderKeeper.loadComponentForAllBinders(BindComposer.java:450) at org.zkoss.bind.BindComposer.doAfterCompose(BindComposer.java:174) at org.zkoss.zk.ui.impl.UiEngineImpl.doAfterCompose(UiEngineImpl.java:530) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:825) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:771) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:680) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:644) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:394) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:316) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:214) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:135) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {code} Solution is similar to https://github.com/zkoss/zk/blob/master/zkbind/src/org/zkoss/bind/xel/zel/ListModelELResolver.java#L131 (ListELResolver: https://github.com/zkoss/zk/blob/master/zel/src/org/zkoss/zel/ListELResolver.java#L172)

    ZK-Tracker | 4 years ago | sbglobesy
    java.lang.NumberFormatException: For input string: "myProperty"

  1. filpgame 4 times, last 2 weeks ago
  2. MoYapro 1 times, last 1 month ago
  3. Handemelindo 1 times, last 1 month ago
  4. silex 6 times, last 1 month ago
  5. ajinkya_w 3 times, last 1 month ago
31 more registered users
64 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: "${release}"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    2. java.lang.Integer.parseInt(Integer.java:449)
    3. java.lang.Integer.parseInt(Integer.java:499)
    3 frames
  3. weka-dev
    ResultHistoryPanel.<init>
    1. weka.core.Version.parseVersion(Version.java:115)
    2. weka.core.Version.<clinit>(Version.java:64)
    3. weka.core.Environment.<init>(Environment.java:67)
    4. weka.core.Environment.<clinit>(Environment.java:43)
    5. weka.core.WekaPackageManager.establishWekaHome(WekaPackageManager.java:108)
    6. weka.core.WekaPackageManager.<clinit>(WekaPackageManager.java:95)
    7. weka.core.Utils.readProperties(Utils.java:142)
    8. weka.gui.visualize.VisualizeUtils.<clinit>(VisualizeUtils.java:54)
    9. weka.gui.visualize.PrintableComponent.<clinit>(PrintableComponent.java:115)
    10. weka.gui.ResultHistoryPanel.<init>(ResultHistoryPanel.java:128)
    10 frames
  4. weka.classifiers.timeseries
    ForecastingPanel.<init>
    1. weka.classifiers.timeseries.gui.ForecastingPanel.<init>(ForecastingPanel.java:124)
    1 frame
  5. org.pentaho.pdi
    TimeseriesForecastingPlugin.getPerspective
    1. org.pentaho.pdi.spoon.dm.forecasting.TimeseriesForecastingPluginPerspective.<init>(TimeseriesForecastingPluginPerspective.java:134)
    2. org.pentaho.pdi.spoon.dm.forecasting.TimeseriesForecastingPluginPerspective.getSingleton(TimeseriesForecastingPluginPerspective.java:189)
    3. org.pentaho.pdi.spoon.dm.forecasting.TimeseriesForecastingPlugin.getPerspective(TimeseriesForecastingPlugin.java:42)
    3 frames
  6. org.pentaho.di
    Spoon.createContents
    1. org.pentaho.di.ui.spoon.SpoonPluginManager.loadPlugin(SpoonPluginManager.java:90)
    2. org.pentaho.di.ui.spoon.SpoonPluginManager.<init>(SpoonPluginManager.java:70)
    3. org.pentaho.di.ui.spoon.SpoonPluginManager.<clinit>(SpoonPluginManager.java:61)
    4. org.pentaho.di.ui.spoon.Spoon.init(Spoon.java:747)
    5. org.pentaho.di.ui.spoon.Spoon.createContents(Spoon.java:8272)
    5 frames
  7. JFace
    Window.open
    1. org.eclipse.jface.window.Window.create(Window.java:426)
    2. org.eclipse.jface.window.Window.open(Window.java:785)
    2 frames
  8. org.pentaho.di
    Spoon.main
    1. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8303)
    2. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
    2 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  10. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    1 frame
  11. Java RT
    JavaApplicationLauncher.launch
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    5. apple.launcher.LaunchRunner.run(LaunchRunner.java:116)
    6. apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
    7. apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    7 frames