java.lang.NumberFormatException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.


rprp
tip

This is a bug in Wise, updating to v4.10 seems to solve the problem.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • load testing connection pooling | Activiti Forums
    via by Unknown author,
  • Apache Karaf 2.3.1 Guides
    via by Unknown author,
  • Apache Karaf 2.3.3 Guides
    via by Unknown author,
  • Apache ServiceMix Documentation -
    via by Unknown author,
  • Apache ServiceMix Documentation -
    via by Unknown author,
  • Apache Karaf 2.2.11 Guides
    via by Unknown author,
  • Apache Karaf ${karaf.version}
    via by Unknown author,
  • Repro: * File > Import from an XML file. * samples/transformations/data-generator/Generate customer data.ktr. * Save file to enterprise repo. * Close it. * Attempt to reopen it. Get stack trace: java.lang.reflect.InvocationTargetException: Error loading transformation at org.pentaho.di.ui.trans.dialog.TransLoadProgressDialog$1.run(TransLoadProgressDialog.java:83) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:495) at org.pentaho.di.ui.trans.dialog.TransLoadProgressDialog.open(TransLoadProgressDialog.java:91) at org.pentaho.di.ui.spoon.Spoon.loadObjectFromRepository(Spoon.java:3362) at org.pentaho.di.ui.spoon.Spoon$19.open(Spoon.java:3337) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.openContent(BrowseController.java:360) at org.pentaho.di.ui.repository.repositoryexplorer.controllers.BrowseController.onDoubleClick(BrowseController.java:572) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:315) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.swt.tags.SwtTree.access$1800(SwtTree.java:93) at org.pentaho.ui.xul.swt.tags.SwtTree$10.doubleClick(SwtTree.java:500) at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799) at org.eclipse.jface.util.SafeRunnable$3.run(SafeRunnable.java:154) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193) at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1061) at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1173) at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:237) at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:234) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:295) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:300) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:256) at org.pentaho.di.ui.repository.repositoryexplorer.RepositoryExplorer.show(RepositoryExplorer.java:159) at org.pentaho.di.ui.spoon.Spoon.exploreRepository(Spoon.java:3346) 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.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:24) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:74) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1185) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6645) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:538) 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:110) Caused by: org.pentaho.di.core.exception.KettleException: Unable to load transformation from path [/pentaho/tenant0/public/Generate customer data.ktr] Unexpected error reading step information from the repository For input string: "${NR_OF_ROWS}" at org.pentaho.di.repository.pur.PurRepository.loadTransformation(PurRepository.java:1609) at org.pentaho.di.ui.trans.dialog.TransLoadProgressDialog$1.run(TransLoadProgressDialog.java:79) ... 57 more Caused by: org.pentaho.di.core.exception.KettleException: Unexpected error reading step information from the repository For input string: "${NR_OF_ROWS}" at org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta.readRep(RowGeneratorMeta.java:420) at org.pentaho.di.repository.pur.TransDelegate.dataNodeToElement(TransDelegate.java:249) at org.pentaho.di.repository.pur.PurRepository.loadTransformation(PurRepository.java:1604) ... 58 more Caused by: java.lang.NumberFormatException: For input string: "${NR_OF_ROWS}" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:410) at java.lang.Long.valueOf(Long.java:525) at com.pentaho.repository.pur.data.node.DataProperty.getLong(DataProperty.java:30) at org.pentaho.di.repository.pur.RepositoryProxy.getStepAttributeInteger(RepositoryProxy.java:288) at org.pentaho.di.trans.steps.rowgenerator.RowGeneratorMeta.readRep(RowGeneratorMeta.java:407) ... 60 more Is the problem with RowGeneratorMeta for allowing a save with an unresolved variable? Because the repository API cannot know what the correct data type (i.e. string vs. integer) is for a given step attribute. Per Jake, assigning directly to mcasters.
    via by Mat Lowery,
    • java.lang.NumberFormatException: For input string: "d5d5dc0b-f005-11e0-8a7c-542ac8f06f0b" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:410) at java.lang.Long.valueOf(Long.java:525)

    Users with the same issue

    batwalrus76batwalrus76
    5 times, last one,
    derproggerderprogger
    1 times, last one,
    Unknown UserUnknown User
    331 times, last one,
    LukaLuka
    6 times, last one,
    marcbouvierdavmarcbouvierdav
    1 times, last one,
    194 more bugmates