Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Exception in thread "main" java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.collections.CollectionsKt__IterablesKt.collectionSizeOrDefault, parameter $receiver
- at kotlin.collections.CollectionsKt__IterablesKt.collectionSizeOrDefault(Iterables.kt)
- at kotlin.collections.CollectionsKt.collectionSizeOrDefault(Unknown Source)
- at stacks.server.scratchpad.categorization.DumpSearchDataKt.main(dumpSearchData.kt:66)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:483)
- at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
- val vendorSnippets = uniqueVendors.take(10).map {vendor ->
- val results = google.search(vendor.vendor)
- Thread.sleep(1000)
- val snippets = results.items.map {it.snippet}
- val vs: VendorSnippets = VendorSnippets(vendor, snippets)
- print("*")
- vs
- }.toList()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement