Archive for April, 2009

Oracle, WebLogic and “The Network Adapter could not establish the connection”

Today I battled a periodic error, where my development WebLogic would not start, due to connection problems against the database. It was kinda strange, because other Java tools like DbVisualizer had no trouble. The exception:
Error starting JDBC transaction. Cause: java.sql.SQLException: Io-exeption: The Network Adapter could not establish the connection.
..turned out to lead me in [...]

April 28, 2009  Tags: ,   Posted in: Programming  No Comments

Flex DataGrid and Image as ItemRenderer

Just a quick note or advice.
When using the Image component as a drop-in item renderer in a Flex DataGrid, there are things to remember or know about sizing. You can give the individual columns a width setting of their own, but the row height is a little different:

either (a) set rowHeight of the grid, which [...]

April 27, 2009  Tags:   Posted in: Rich Internet Applications  One Comment

IDEA Is Back to Being Great!

Some time ago, I got frustrated with working with IDEA flex support. I had some complaints about the quality of the flex support in IDEA7 and 8, and I let the steam come out in that blog entry.
Well, just to be fair, I thought I would post a short blog entry about how things have [...]

April 4, 2009  Tags: ,   Posted in: Tools  3 Comments

Where is that damn oblique arrow on my Mac?

Here’s a question for the reader: When using IDEA on my MacBook Pro, I cannot find the key combination to “goto end of file” or “goto top of file”. It used to be Ctrl-End or Home on PC, as far as I remember. But, MacBook Pro users do not need Home and End keys, … [...]

April 4, 2009  Tags: ,   Posted in: Uncategorized  4 Comments

IDEA fucked up indices

Since v7 (I think), IDEA has had some internal indexing strategy of the files in projects. These indices somehow got messed up in my current Diana install. I started getting exceptions like:
java.lang.NullPointerException
at com.intellij.psi.stubs.StubTree.(StubTree.java:9)
at com.intellij.lang.javascript.index.JSPackageIndex$2.map(JSPackageIndex.java:60)
[...]

April 3, 2009  Tags:   Posted in: Tools  5 Comments