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.
This bug was originally marked as duplicate of bug 192609, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253) VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08 OS: Linux User Comments: GUEST: create entities from database postgresslq 9.1 under Ubuntu 12.04 Stacktrace: java.lang.IllegalArgumentException: aType == null at org.netbeans.modules.j2ee.persistence.entitygenerator.EntityMember.setMemberType(EntityMember.java:252) at org.netbeans.modules.j2ee.persistence.entitygenerator.DbSchemaEntityMember.setPrimaryKey(DbSchemaEntityMember.java:127) at org.netbeans.modules.j2ee.persistence.entitygenerator.DbSchemaEjbGenerator.generatePkField(DbSchemaEjbGenerator.java:478) at org.netbeans.modules.j2ee.persistence.entitygenerator.DbSchemaEjbGenerator.buildCMPSet(DbSchemaEjbGenerator.java:584) at org.netbeans.modules.j2ee.persistence.entitygenerator.DbSchemaEjbGenerator.<init>(DbSchemaEjbGenerator.java:117) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.RelatedCMPHelper.buildBeans(RelatedCMPHelper.java:368)
Created attachment 130089 [details] stacktrace
as well as 192609 may need a fix in db side
Sergey, can you reproduce the bug? We will probably need structure of the database table that causes this problem.
no, agree it's better to get sql script/schema for this db before evaluation. unfortunately it's file by GUEST, we may need to wait for more reports and downgrade to P4 for now as exception rate isn't big yet and I prefer this way instead of close as incomplete.
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.