WARNING: no system properties value for ro.build.date.utc

1,198 views
Skip to first unread message

Greg Ayer

unread,
Jun 20, 2013, 1:34:06 AM6/20/13
to robol...@googlegroups.com
I get this warning my running tests using Robolectric:

"WARNING: no system properties value for ro.build.date.utc"

The tests run just fine, but I'm having a very hard time finding anything about this error, though it does seem to show up in the majority of the error messages I've seen posted. Just wondering how to resolve that.

Benjamin Layet

unread,
Aug 19, 2013, 1:16:03 PM8/19/13
to robol...@googlegroups.com
Hi Greg,

It seems that everyone gets this warning, but I cannot find a resolution anywhere.
Did you find out how to resolve it?

Thanks,

Ben

SuperJugy

unread,
Aug 22, 2013, 4:55:37 PM8/22/13
to robol...@googlegroups.com
I have the same issue, even tough it doesn't seem to hurt... or does it?
Message has been deleted

anshu pitlia

unread,
Sep 9, 2014, 9:23:18 AM9/9/14
to robol...@googlegroups.com
I think, this has got something to do with jre, my current configuration uses jre8

Anshu Pitlia


The most important thing is to enjoy your life—to be happy—it's all that matters.

On Tue, Sep 9, 2014 at 6:23 PM, anshu pitlia <anshu...@gmail.com> wrote:
Hello All, 

This warning appears but I also get exception and the test stops.
Please note that the java project uses jre8, and used j2se jdk1.8 which gave some other error so I changed that to j2se jdk 1.6.
Following is the "Failure Trace"
java.lang.VerifyError: Expecting a stackmap frame at branch target 159
Exception Details:
  Location:
    com/google/android/gms/location/LocationRequest.<init>(IIJJZJIF)V @21: ifnull
  Reason:
    Expected stackmap frame at this location.
  Bytecode:
    0000000: 2ab7 00f9 2ab6 00fc 1301 7603 1202 b800
    0000010: eb3a 0c19 0cc6 008a 190c 2a2a b601 0210
    0000020: 08bd 0004 5903 1bbb 00bc 5a5f b701 0c53
    0000030: 5904 1cbb 00bc 5a5f b701 0c53 5905 21bb
    0000040: 00c2 5b5b 57b7 011f 5359 0616 05bb 00c2
    0000050: 5b5b 57b7 011f 5359 0715 07bb 00c7 5a5f
    0000060: b701 7953 5908 1608 bb00 c25b 5b57 b701
    0000070: 1f53 5910 0615 0abb 00bc 5a5f b701 0c53
    0000080: 5910 0717 0bbb 00cc 5a5f b701 5a53 b900
    0000090: f104 0057 a700 253a 0d19 0db8 00f5 bf2a
    00000a0: 1b1c 2116 0515 0716 0815 0a17 0bb7 0174
    00000b0: b13a 0d19 0db8 00f5 bfb1               
  Exception Handler Table:
    bci [24, 148] => handler: 151
    bci [159, 176] => handler: 177

at com.urbanladder.fulfil.helper.LocationHelper.<init>(LocationHelper.java:21)
at com.urbanladder.fulfil.Fulfil.<clinit>(Fulfil.java:12)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.robolectric.internal.ClassNameResolver.safeClassForName(ClassNameResolver.java:37)
at org.robolectric.internal.ClassNameResolver.resolve(ClassNameResolver.java:20)
at org.robolectric.DefaultTestLifecycle.createApplication(DefaultTestLifecycle.java:39)
at org.robolectric.DefaultTestLifecycle.createApplication(DefaultTestLifecycle.java:13)
at org.robolectric.internal.ParallelUniverse.setUpApplicationState(ParallelUniverse.java:109)
at org.robolectric.RobolectricTestRunner.setUpApplicationState(RobolectricTestRunner.java:401)
at org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:219)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:174)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

--
You received this message because you are subscribed to a topic in the Google Groups "Robolectric" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/robolectric/FxSE3gRsbyM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to robolectric...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages