"cmd.exe" exited with code 1
Closed this issue · 4 comments
GoogleCodeExporter commented
When I run protoc.jar with arguments, I got the following error:
C:\Program Files
(x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error
MSB6006: "cmd.exe" exited with code 1.
Version: 1.0M4.
OS: Windows 7 Home Premium 64 bit.
Additional info:
1> Generating protobuf code
1> Exception in thread "main" java.lang.reflect.InvocationTargetException
1> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
1> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
1> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
1> at java.lang.reflect.Method.invoke(Unknown Source)
1> at
org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58
)
1> Caused by: java.lang.NumberFormatException: null
1> at java.lang.Integer.parseInt(Unknown Source)
1> at java.lang.Integer.parseInt(Unknown Source)
...............
...............
...............
Original issue reported on code.google.com by magnet...@gmail.com
on 1 Jun 2013 at 8:24
GoogleCodeExporter commented
This error is caused because you have a repeated/string/byte attribute and did
not define in an annotation
@max_repeated_length/@max_string_length/@max_bytes_length. We will try to fix
this by adding default values for these annotations.
Original comment by nvp...@gmail.com
on 3 Jun 2013 at 9:23
- Changed state: Accepted
- Added labels: Milestone-1.0M5
GoogleCodeExporter commented
Original comment by nvp...@gmail.com
on 6 Jun 2013 at 3:33
GoogleCodeExporter commented
This issue was closed by revision r97.
Original comment by nvp...@gmail.com
on 6 Jun 2013 at 7:01
- Changed state: Fixed
GoogleCodeExporter commented
Issue 45 has been merged into this issue.
Original comment by nvp...@gmail.com
on 24 Jun 2013 at 1:03