GeezerVison is showing github.com — Unknown error getting image annotations · Issue #1860 · googleapis/google-cloud-java
Unknown error getting image annotations #1860Labels api: visionIssues related to the Cloud Vision API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DescriptionInput is:https://res.cloudinary.com/viksphotography/image/upload/v1491023435/emt2sgakliae5gap9xks.jpg
[WARNING] /echo
java.io.IOException: Unknown error getting image annotations
at photography.viks.ig.DetectLabels.labelImage(DetectLabels.java:161)
at com.example.endpoints.EchoServlet.doPost(EchoServlet.java:63)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:837)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1160)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1092)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:518)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:246)
at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:156)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
at java.lang.Thread.run(Thread.java:745)
plz advise Activitydanielcompton commented on Apr 5, 2017 There isn't enough information here to help you, and it looks likely that this is a usage issue. StackOverflow is probably a better avenue to resolve this? agentvivekkumar commented on Apr 6, 2017 nah it's a bug with api. the sample code and valid image simply fails. other images works fine with same code. shinfan commented on May 8, 2017 @swcloud Can you take a look at this issue? It looks like an issue on the API. swcloud commented on May 16, 2017 @vikceo That's because for that image no label was detected. The user code probably failed to handle that case. garrettjonesgoogle commented on May 30, 2017 @vikceo are you able to show what your code looks like that calls the vision API? garrettjonesgoogle commented on Jul 18, 2017 No response, so I'm going to close this out. Feel free to re-open if you're able to provide more information.
MetadataMetadataapi: visionIssues related to the Cloud Vision API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns. DevelopmentNo branches or pull requestsIssue actions
|