August 25, 2009 – 7:30 pm
Java 6 includes STaX , when I tried to parse a Evernote backup file with it, I got a “OOME” error.
java.lang.OutOfMemoryError: Java heap space
at com.sun.org.apache.xerces.internal.util.XMLStringBuffer.append(XMLStringBuffer.java:205)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.refresh(XMLDocumentScannerImpl.java:1520)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.invokeListeners(XMLEntityScanner.java:2070)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.peekChar(XMLEntityScanner.java:486)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2679)
[...]
By ruben.laguna
|
Posted in mac, netbeans, windows
|
Tagged api, bug, exception, implementation, jar, java, library, netbeans, oome, outofmemoryexception, parser, parsing, provider, service, spi, stax, woodstox, wrapper, xml
|
I tried to use my blog feed as a sitemap in Google Webmaster Tools, but it Google complains about “Invalid XML: too many tags describing this tags” in several points in the feed.
I found in several places that this due to the format of the feed, a simple change to ATOM will fix it. [...]
By ruben.laguna
|
Posted in google, wordpress
|
Tagged feed, feedburner, feedsmith, feedvalidator, google, googlebot, plugin, sitemaps, tags, tools, webmaster, wordpress
|
I tried to use the delicious online import tool from Evernote and I have to say that I’m not satisfied with it. It’s limited to 1000 tags (that’s due to important performance issues in Evernote when the number of tags is big) and if you don’t import the tags the tag information is lost.
I [...]
By ruben.laguna
|
Posted in mac, ruby
|
Tagged bookmarks, delicious, evernote, html, htmlentities, import, mac, note, ruby, rubyosa, scripting
|
My first try at using CGLib from a Netbeans RCP ended up in a ClassNotFoundException for net.sf.cglib.proxy.Factory
I had two modules, MainModule and cglib and MainModule was depending on cglib. And the following snippet was raising the ClassNotFoundException.
Enhancer enhancer = new Enhancer();
[...]
By ruben.laguna
|
Posted in java, netbeans
|
Tagged cglib, classloader, classnotfoundexception, enhancer, factory, module, netbeans, proxy, rcp, stacktrace
|