Blog.macrominds - Erfahrung weitergeben

Netbeans Platform development with maven: Troubleshooting

This article is about common problems in Rich Client development with the Netbeans Platform using maven. I’ll extend this article every now and then, when there’s time for it.

No Comments


Open Favorites per Default in Netbeans Rich Client Platform (Maven Standalone Application)

It’s sometimes kinda hard to force your Netbeans RCP Standalone Application to open the Favorites Window per Default (at least when using maven).
Here’s the solution:

No Comments


Instrumentation (Javaagent) and Javaassist, className Issue with getClassFile2

Just a hint if you have the following problem:
You’re using javaassist (in my case 3.14.GA) and a Java-Agent / instrumentation to invoke javaassist for Class-transformations. (I use Java7 which works with Javaassist 3.14.GA).
The following code returns a CtClass:

//make sure to add your classpath, e.g. cp.appendClassPath(new LoaderClassPath(loader));
 
//throws no Exception
CtClass cc = cp.get(className);
 
//this would return a non-null [...]

No Comments


Maven, Netbeans Run and the use of a Javaagent

Here’s my setup for a maven 3 multi-module project, using a java-agent, that can be run either from the Netbeans-IDE or with a handcrafted windows-batch-file.

No Comments


JWebPane reloaded / Thoughts on a Swing-based Browser-component

When I searched for a Swing Component that is able to render modern HTML/CSS, I noticed that there’s no solution that covered all of my needs. Here are my thoughts on the topic and an (unfinished and rough) idea on how to create a JWebPane while the original JWebPane (announced 2008) stays vaporware.

1 Comment


mediawiki sendmail problems on windows xampp solved

I got several errors when trying to make mediawiki send e-mails on my windows 7 xampp 1.7.4 test-installation. Now here’s what I did.

No Comments


Object Type or object value changed in php-session

A friend of mine recently had a mysterious problem. He stored an object in $_SESSION and fetched it from the $_SESSION. When he fetched it, it had magically turned it’s type from the concrete class to the type of the super-class. To get even more mysterious, the problem only occured on the production server, [...]

2 Comments


Apache Jackrabbit 2 / JCR2 Nullpointer Exception on shutdown

I just fiddled around with Apaches Jackrabbit 2 and found the following error and solution noteworthy.

1 Comment


Embedded gecko-browser in java-application with DJNativeSwing

The excellent library DJ Native Swing allows a java-program to use an embedded native Browser (among other things).
On Windows-Systems it uses an Internet-Explorer per default. However this browser isn’t exactly known for being standards-compliant. In order to use a mozilla firefox / gecko-browser, you can use XulRunner.
In order to bundle the XulRunner with your application [...]

6 Comments


dealing with utf-8 in php5

I just worked on a search-engine indexer, which crawls utf-8 files and creates an index of the words. There have been some issues, that are easy to solve if you know them.

No Comments


Nächste Seite »