This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Errors in OpenIDE-Module-Specification-Version not reported well | ||
---|---|---|---|
Product: | platform | Reporter: | Jeffrey Norton <jeffnorton> |
Component: | Module System | Assignee: | Jesse Glick <jglick> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Jeffrey Norton
2001-12-18 19:56:33 UTC
I'll treat this as an enhancement. It *is* reporting the bad string, as you can see: "Even number of pieces: " ... "java.lang.NumberFormatException: " Your case is strange in that you left the attribute completely blank, and probably did not notice the spaces. If you had written: OpenIDE-Module-Specification-Version: 1.3beta2 it would be more apparent what was wrong. Still the message could be more verbose and it would be good to list what manifest attribute it came from. .9 is not a valid spec version (not a sequence of one or more natural numbers separated by dots). 0.9 is. Have patch. committed * Up-To-Date 1.14.2.1 core/src/org/netbeans/core/modules/Module.java committed * Up-To-Date 1.3.18.1 openide/src/org/openide/modules/SpecificationVersion.java This was for 3.3.1 actually. Resolved for 3.4.x or earlier, no new info since then -> verified. Resolved for 3.4.x or earlier, no new info since then -> closing. |