GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unknown error getting image annotations · Issue #1860 · googleapis/google-cloud-java

Unknown error getting image annotations #1860

New issue
Copy link
New issue
Copy link
Closed
Closed
Unknown error getting image annotations#1860
Copy link
Assignees
garrettjonesgoogle
Labels
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.

Description

@agentvivekkumar
agentvivekkumar
opened on Apr 5, 2017
Issue body actions

Input 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

Activity

  1. danielcompton commented on Apr 5, 2017

    @danielcompton
    danielcompton
    on Apr 5, 2017
    More actions

    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?

  2. agentvivekkumar commented on Apr 6, 2017

    @agentvivekkumar
    agentvivekkumar
    on Apr 6, 2017
    Author
    More actions

    nah it's a bug with api. the sample code and valid image simply fails. other images works fine with same code.

  3. garrettjonesgoogle
    added
    api: visionIssues related to the Cloud Vision API.
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    on Apr 12, 2017
  4. shinfan
    assigned
    swcloud
    on May 8, 2017
  5. shinfan commented on May 8, 2017

    @shinfan
    shinfan
    on May 8, 2017
    Contributor
    More actions

    @swcloud Can you take a look at this issue? It looks like an issue on the API.

  6. swcloud commented on May 16, 2017

    @swcloud
    swcloud
    on May 16, 2017
    More actions

    @vikceo That's because for that image no label was detected. The user code probably failed to handle that case.

  7. garrettjonesgoogle commented on May 30, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on May 30, 2017
    Contributor
    More actions

    @vikceo are you able to show what your code looks like that calls the vision API?

  8. garrettjonesgoogle
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    on May 30, 2017
  9. garrettjonesgoogle commented on Jul 18, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on Jul 18, 2017
    Contributor
    More actions

    No response, so I'm going to close this out. Feel free to re-open if you're able to provide more information.

  10. garrettjonesgoogle
    closed this as completedon Jul 18, 2017
  11. theacodes
    unassigned
    swcloud
    on Sep 28, 2018
  12. JustinBeckwith
    assigned
    garrettjonesgoogle
    on Feb 1, 2021
  13. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore: Update generation configuration at Wed Sep 24 17:52:17 UTC 2025 (

    eeca440
  14. chingor13
    added 2 commits that reference this issue on Jan 22, 2026

    deps: update dependency com.google.cloud:sdk-platform-java-config to …

    0eff028

    chore(main): release 2.29.1 (#1870)

    5f31da8
  15. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore: Update generation configuration at Wed Sep 24 17:52:17 UTC 2025 (

    67a004a
  16. lqiu96
    added 2 commits that reference this issue on Mar 20, 2026

    deps: update dependency com.google.cloud:sdk-platform-java-config to …

    78cab4b

    chore(main): release 2.29.1 (#1870)

    63d28dc
  17. suztomo
    added a commit that references this issue on Mar 23, 2026

    docs: auto-generate connection properties documentation (googleapis#1860

    f0df332
  18. meltsufin
    added 5 commits that reference this issue on Apr 29, 2026

    fix: temporarily remove publisher tests causing timeouts (#1860)

    a8fa24d

    chore(main): release 1.133.0 (#2206)

    a3b6539

    fix: temporarily remove publisher tests causing timeouts (#1860)

    7159ad0

    chore(main): release 1.133.0 (#2206)

    1180af9

    chore: use composite action (#1860)

    564d653
  19. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore: remove owlbot checks from non main branches (googleapis#1860)

    bf22fd4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @garrettjonesgoogle
    garrettjonesgoogle

Labels

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.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.