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 [...]
April 28, 2009
·
polesen ·
No Comments
Tags: jdbc, oracle · Posted in: Programming
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 [...]
April 27, 2009
·
polesen ·
One Comment
Tags: flex · Posted in: Rich Internet Applications
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 [...]
April 4, 2009
·
polesen ·
3 Comments
Tags: flex, IDEA · Posted in: Tools
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
·
polesen ·
4 Comments
Tags: IDEA, mac · Posted in: Uncategorized
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) at com.intellij.lang.javascript.index.JSPackageIndex$2.map(JSPackageIndex.java:91) at com.intellij.util.indexing.MapReduceIndex.mapNew(MapReduceIndex.java:82) … and java.lang.AssertionError at com.intellij.util.io.storage.Storage.deleteRecord(Storage.java:315) at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.b(FSRecords.java:213) at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.a(FSRecords.java:296) … In addition, one file [...]
April 3, 2009
·
polesen ·
5 Comments
Tags: IDEA · Posted in: Tools
