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.

Bug 60000 - Connection failure. java.io.UTFDataFormatException: malformed input around byte 6.
Summary: Connection failure. java.io.UTFDataFormatException: malformed input around by...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2005-06-15 10:33 UTC by Petr Blaha
Modified: 2012-10-21 17:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace (5.37 KB, text/plain)
2005-06-15 10:33 UTC, Petr Blaha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Blaha 2005-06-15 10:33:01 UTC
[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.
Comment 1 Petr Blaha 2005-06-15 10:33:24 UTC
Created attachment 22686 [details]
stack trace
Comment 2 Andrei Badea 2005-06-15 16:09:03 UTC
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.
Comment 3 Andrei Badea 2005-06-15 16:15:43 UTC
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
Comment 4 Petr Blaha 2005-06-29 08:42:48 UTC
I see the exception in NB build 20050628. It seems that workaround doesn't work :-(
Comment 5 Andrei Badea 2005-10-17 17:53:58 UTC
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).
Comment 6 Petr Blaha 2005-10-20 15:17:42 UTC
I can't reproduce this issue neither issue #66010 in build 20051019.
Comment 7 Petr Blaha 2006-03-13 13:32:13 UTC
TM 5.0 -> TBD
Comment 8 Andrei Badea 2006-05-25 17:10:27 UTC
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.
Comment 9 Jiri Rechtacek 2009-07-01 07:57:25 UTC
Reassigned to new owner.
Comment 10 matthias42 2012-10-21 17:52:40 UTC
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.