This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[build 20050614] Steps: 1) create new EJB module 2) invoke CMP entity bean from database wizard 3) select PointBase connection 4) type password 5) click OK ERROR: get Connection failure. java.io.UTFDataFormatException: malformed input around byte 6.
Created attachment 22686 [details] stack trace
I can experience it, but randomly. It looks like a timing problem, most probably in the Pointbase JDBC driver. This driver seems quite buggy -- for example I've experienced DatabaseMetaData.getCatalogs() or getTables() returning null, which is illegal.
I commited an attempt to workaround. Please test and let me know if it seems to help. Checking in DDLBridge.java; /cvs/db/model/src/org/netbeans/modules/dbschema/jdbcimpl/DDLBridge.java,v <-- DDLBridge.java new revision: 1.2; previous revision: 1.1 done
I see the exception in NB build 20050628. It seems that workaround doesn't work :-(
Petre, are you still seeing this issue? I haven't seen it for a long time, and the issue could be a duplicate of issue 66010 (although they produce different results, I think the issues have the same cause).
I can't reproduce this issue neither issue #66010 in build 20051019.
TM 5.0 -> TBD
I still believe this is caused by a bug in the PointBase driver. Since we don't use PointBase as the default database, the user impact is low, so downgrading to P4.
Reassigned to new owner.
This bug is _very_ old. I had a look at the source code. After the proposed fix from Andrei Badea about four years later the whole block is now protected by a try-catch. This should catch also this problem. Closing as fixed - feel free to reopen if the problem is reproducible.