Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: empty.reduceLeft #1

Open
N4M3Z opened this issue Sep 8, 2013 · 0 comments
Open

Exception: empty.reduceLeft #1

N4M3Z opened this issue Sep 8, 2013 · 0 comments

Comments

@N4M3Z
Copy link

N4M3Z commented Sep 8, 2013

I just tried to run li2latex on the new linkedin profiles and I am getting the following error. Any suggestions on how to fix this? I am on MacOS X, latest java.

error java.lang.UnsupportedOperationException: empty.reduceLeft
java.lang.UnsupportedOperationException: empty.reduceLeft
at scala.collection.LinearSeqOptimized$class.reduceLeft(LinearSeqOptimized.scala:124)
at scala.collection.immutable.List.reduceLeft(List.scala:45)
at li2latex.model.SkillsParser$$anonfun$parseOAuthResponse$3.apply(FieldsParser.scala:162)
at li2latex.model.SkillsParser$$anonfun$parseOAuthResponse$3.apply(FieldsParser.scala:140)
at li2latex.model.Section$$anonfun$getFormattedItems$1$$anonfun$apply$1.apply(section.scala:17)
at li2latex.model.Section$$anonfun$getFormattedItems$1$$anonfun$apply$1.apply(section.scala:17)
at li2latex.model.Section$$anonfun$liftM2$1$$anonfun$apply$2.apply(section.scala:35)
at li2latex.model.Section$$anonfun$liftM2$1$$anonfun$apply$2.apply(section.scala:34)
at scala.Option.map(Option.scala:133)
at li2latex.model.Section$$anonfun$liftM2$1.apply(section.scala:34)
at li2latex.model.Section$$anonfun$liftM2$1.apply(section.scala:33)
at scala.Option.flatMap(Option.scala:146)
at li2latex.model.Section.liftM2(section.scala:33)
at li2latex.model.Section.getFormattedItems(section.scala:17)
at li2latex.model.Resume$$anonfun$1.apply(Resume.scala:55)
at li2latex.model.Resume$$anonfun$1.apply(Resume.scala:55)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:194)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at scala.collection.TraversableLike$class.map(TraversableLike.scala:194)
at scala.collection.immutable.List.map(List.scala:45)
at li2latex.model.Resume.getFormattedWholeDocument(Resume.scala:55)
at li2latex.model.Resume.generateResume(Resume.scala:25)
at li2latex.main.Launcher$.li2latex$main$Launcher$$generateResume(Launcher.scala:38)
at li2latex.main.Launcher$delayedInit$body.apply(Launcher.scala:54)
at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:60)
at scala.App$$anonfun$main$1.apply(App.scala:60)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:30)
at scala.App$class.main(App.scala:60)
at li2latex.main.Launcher$.main(Launcher.scala:8)
at li2latex.main.Launcher.main(Launcher.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.package$.error(package.scala:27)
[error] {file:/Users/mzeman/Documents/Scripts/li2latex/}Li2Latex/compile:run: Nonzero exit code: 1
[error] Total time: 31 s, completed Sep 8, 2013 5:08:42 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant