java.lang.NumberFormatException: Zero length BigInteger

Appcelerator JIRA | Ingo Muschenetz | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I have a lot of these filling up my log file: {code} !ENTRY com.aptana.js.core 1 0 2014-05-09 20:28:04.651 !MESSAGE (Build 3.2.3.201404181442) [INFO] Error trying to parse JS number: '0' !STACK 0 java.lang.NumberFormatException: Zero length BigInteger at java.math.BigInteger.<init>(BigInteger.java:276) at com.aptana.js.internal.core.build.JSStyleValidator.parseNumber(JSStyleValidator.java:1779) at com.aptana.js.internal.core.build.JSStyleValidator.enterNumber(JSStyleValidator.java:1727) at com.aptana.js.internal.core.build.JSStyleValidator.enterNode(JSStyleValidator.java:697) at com.aptana.js.internal.core.build.JSStyleValidator.access$1(JSStyleValidator.java:612) at com.aptana.js.internal.core.build.JSStyleValidator$1.enterNode(JSStyleValidator.java:497) at com.aptana.parsing.util.ParseUtil.treeApply(ParseUtil.java:258) at com.aptana.parsing.util.ParseUtil.treeApply(ParseUtil.java:234) at com.aptana.js.internal.core.build.JSStyleValidator.buildFile(JSStyleValidator.java:486) at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72) at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:614) at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:525) at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:497) at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:343) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:178) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) {code} I do not know which specific project or file is causing the issue, but I expect it should be relatively straightforward to ascertain the line of code that's the culprit.

    Appcelerator JIRA | 3 years ago | Ingo Muschenetz
    java.lang.NumberFormatException: Zero length BigInteger
  2. 0

    I have a lot of these filling up my log file: {code} !ENTRY com.aptana.js.core 1 0 2014-05-09 20:28:04.651 !MESSAGE (Build 3.2.3.201404181442) [INFO] Error trying to parse JS number: '0' !STACK 0 java.lang.NumberFormatException: Zero length BigInteger at java.math.BigInteger.<init>(BigInteger.java:276) at com.aptana.js.internal.core.build.JSStyleValidator.parseNumber(JSStyleValidator.java:1779) at com.aptana.js.internal.core.build.JSStyleValidator.enterNumber(JSStyleValidator.java:1727) at com.aptana.js.internal.core.build.JSStyleValidator.enterNode(JSStyleValidator.java:697) at com.aptana.js.internal.core.build.JSStyleValidator.access$1(JSStyleValidator.java:612) at com.aptana.js.internal.core.build.JSStyleValidator$1.enterNode(JSStyleValidator.java:497) at com.aptana.parsing.util.ParseUtil.treeApply(ParseUtil.java:258) at com.aptana.parsing.util.ParseUtil.treeApply(ParseUtil.java:234) at com.aptana.js.internal.core.build.JSStyleValidator.buildFile(JSStyleValidator.java:486) at com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72) at com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:614) at com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:525) at com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:497) at com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:343) at com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:178) at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246) at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) {code} I do not know which specific project or file is causing the issue, but I expect it should be relatively straightforward to ascertain the line of code that's the culprit.

    Appcelerator JIRA | 3 years ago | Ingo Muschenetz
    java.lang.NumberFormatException: Zero length BigInteger
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    XhtmlToDocxAndBack Zero length BigInteger exception

    GitHub | 2 years ago | jamescarter
    org.docx4j.openpackaging.exceptions.Docx4JException: Exception exporting package

  1. musketyr 1 times, last 1 month ago
2 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

    Zero length BigInteger

    at java.math.BigInteger.<init>()
  2. Java RT
    BigInteger.<init>
    1. java.math.BigInteger.<init>(BigInteger.java:276)
    1 frame
  3. com.aptana.js
    JSStyleValidator$1.enterNode
    1. com.aptana.js.internal.core.build.JSStyleValidator.parseNumber(JSStyleValidator.java:1779)
    2. com.aptana.js.internal.core.build.JSStyleValidator.enterNumber(JSStyleValidator.java:1727)
    3. com.aptana.js.internal.core.build.JSStyleValidator.enterNode(JSStyleValidator.java:697)
    4. com.aptana.js.internal.core.build.JSStyleValidator.access$1(JSStyleValidator.java:612)
    5. com.aptana.js.internal.core.build.JSStyleValidator$1.enterNode(JSStyleValidator.java:497)
    5 frames
  4. com.aptana.parsing
    ParseUtil.treeApply
    1. com.aptana.parsing.util.ParseUtil.treeApply(ParseUtil.java:258)
    2. com.aptana.parsing.util.ParseUtil.treeApply(ParseUtil.java:234)
    2 frames
  5. com.aptana.js
    JSStyleValidator.buildFile
    1. com.aptana.js.internal.core.build.JSStyleValidator.buildFile(JSStyleValidator.java:486)
    1 frame
  6. com.aptana.core
    UnifiedBuilder.build
    1. com.aptana.core.internal.build.LazyBuildParticipant.buildFile(LazyBuildParticipant.java:72)
    2. com.aptana.core.build.UnifiedBuilder.buildFile(UnifiedBuilder.java:614)
    3. com.aptana.core.build.UnifiedBuilder.doBuildFiles(UnifiedBuilder.java:525)
    4. com.aptana.core.build.UnifiedBuilder.buildFiles(UnifiedBuilder.java:497)
    5. com.aptana.core.build.UnifiedBuilder.fullBuild(UnifiedBuilder.java:343)
    6. com.aptana.core.build.UnifiedBuilder.build(UnifiedBuilder.java:178)
    6 frames
  7. Core Resource Management
    BuildManager$2.run
    1. org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733)
    1 frame
  8. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  9. Core Resource Management
    BuildManager$1.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
    2. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
    3. org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
    3 frames
  10. Eclipse Core
    SafeRunner.run
    1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    1 frame
  11. Core Resource Management
    AutoBuildJob.run
    1. org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
    2. org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
    3. org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
    4. org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
    5. org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
    5 frames
  12. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    1 frame