ctiller / protobuf-embedded-c

Automatically exported from code.google.com/p/protobuf-embedded-c
0 stars 0 forks source link

"cmd.exe" exited with code 1 #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 9 years ago
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

GoogleCodeExporter commented 9 years ago

Original comment by nvp...@gmail.com on 6 Jun 2013 at 3:33

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r97.

Original comment by nvp...@gmail.com on 6 Jun 2013 at 7:01

GoogleCodeExporter commented 9 years ago
Issue 45 has been merged into this issue.

Original comment by nvp...@gmail.com on 24 Jun 2013 at 1:03