Status: New
Owner: [email protected]
Labels: Type-Defect Priority-Medium
New issue 685 by [email protected]: java.lang.VerifyError: class
RealtimeBidding$BidRequest overrides final method
getUnknownFields.()Lcom/google/protobuf/UnknownFieldSet
https://code.google.com/p/protobuf/issues/detail?id=685
Hi Guys,
What steps will reproduce the problem?
1. Download and install 2.5.0 from here
https://github.com/google/protobuf/releases
(./configure && make && make install)
$ protoc --version
libprotoc 2.5.0
2.Generate .java file: protoc --java_out=src/java/
resources/proto/realtime-bidding.proto --proto_path=resources/proto
3. lein run (it's actually clojure project and i see
com.google.protobuf/protobuf-java 2.5.0 on classpath)
I'm getting following error:
Exception in thread "main" java.lang.VerifyError: class
RealtimeBidding$BidRequest overrides final method
getUnknownFields.()Lcom/google/protobuf/UnknownFieldSet
Caused by: java.lang.VerifyError: class RealtimeBidding$BidRequest
overrides final method
getUnknownFields.()Lcom/google/protobuf/UnknownFieldSet;
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:367)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
I also saw that ticket
https://code.google.com/p/protobuf/issues/detail?id=484 but it didn't help.
RealtimeBidding.java is here
https://gist.github.com/trybeee/6699dfd4dcc47b954432
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups "Protocol
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.