• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Apache POI,reading hyperlink from a column

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am facing one issue while reading xls file using apache poi.

when a column contains a hyperlink something like this :

mailto:ABCD%23@%23@%23$%23

the code fails at a very first line which is :



But,
If i change the hyperlink to some valid value such as -> mailto:ABCD
the reading does not fail, which is a valid scenario.

Now,
the strange part is, if I again change the hyperlink to the previous value which is mailto:ABCD%23@%23@%23$%23, I expect it to fail but it doesn't.


I have 2 queries :
1. why the first value is failing, why it is being treated as an invalid value?? why it is failing at first line itself,that is, at loading of the file??
2. why it did not fail third time when it was updated back to the original value??


It would be really helpful if anybody could clarify the same.



Regards,
Indrayani
 
Indrayani Godbole
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody having any knowledge about it?
Please share the same.
 
So I left, I came home, and I ate some pie. And then I read this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!