Comments (6)
It appears as if, when the "Class.getMethod()" method is invoked (line 149 of
"TypeList"), it iterates over each method in the class. So in the case of the
"VCard" class, it is throwing a "NoClassDefFoundError" exception when it gets
to the "writeHtml" methods, since these methods throw a freemarker exception.
I wasn't able to reproduce it. I wonder if there is a difference in how the
"Class.getMethod()" method is implemented in different JVMs. I've never tried
running it under of Oracle's 1.7 JVM. Maybe there is something different about
it. Can you try running the attached Java program to see if you get the error
again?
Original comment by mike.angstadt
on 16 May 2013 at 1:19
Attachments:
from ez-vcard.
I've went ahead and just removed the exception from the "VCard.writeHtml()"
methods (see r528). It shouldn't be there anyway. The freemarker template
cannot be modified by the user, so if there's an error with the template, the
user can't really do anything about it.
Attached is a JAR containing the changes. Can you test it out?
Original comment by mike.angstadt
on 16 May 2013 at 1:16
Attachments:
from ez-vcard.
Thanks Mike, that 0.8.1-SNAPSHOT JAR resolves the issue in my environment.
Looks like a good change!
Original comment by [email protected]
on 16 May 2013 at 5:59
from ez-vcard.
Thanks, I'm really glad you were able to catch this. I'll probably release
0.8.1 sometime within the next week or so. Do you mind if I list your full
name in the credits, or is "dnault" ok?
Original comment by mike.angstadt
on 16 May 2013 at 10:54
- Changed state: Fixed
from ez-vcard.
Hi Mike,
Sorry for not responding sooner; I don't check my gmail account very often.
Sure, going forward you are welcome to use my full name. Thanks for the
recognition!
Best wishes,
David Nault
Original comment by [email protected]
on 26 May 2013 at 6:38
from ez-vcard.
Got it, thanks!
Original comment by mike.angstadt
on 27 May 2013 at 2:00
from ez-vcard.
Related Issues (20)
- Unable to retrieve original UTC offset from date-time property values HOT 2
- unable to get Photo when using URL HOT 7
- quoted-printable encoded entities are not correctly converted HOT 1
- vCards broken on systems with locale with non-Western digits HOT 5
- Address field parsing issue HOT 2
- Caret encoding: \n not encoded to ^n HOT 3
- Getting crash reports in the release version of the android app HOT 4
- Vulnerability (CVE-2021-37714) in jsoup 1.13.1 HOT 4
- Can't call VCardPropertyScribe.write* explicitly for all properties HOT 2
- Sharing VCF with image to WhatsApp doesn't work HOT 3
- unable to get Photo when using bytes data
- Unable to share Vcf contact card for Android 11 and above. HOT 1
- IMPP: case-insensitive comparison of schemes HOT 1
- VCardWriter - Writes data without proper formatting for Google Contacts - Expected : YYYY-MM-DD ; current : YYYYMMDD HOT 2
- [Q] How do I get the `RawProperty`s? HOT 1
- Version 0.11.3 vulnerabilities HOT 3
- Migration to 0.12.0 while still supporting Android API 21..25 HOT 6
- Add support for Jigsaw modules HOT 1
- Parsing from chunk of text HOT 2
- Custom getter in VCardProperty HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ez-vcard.