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 255190 - IllegalArgumentException: aType == null
Summary: IllegalArgumentException: aType == null
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-10 16:52 UTC by Exceptions Reporter
Modified: 2017-09-12 14:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219863


Attachments
stacktrace (2.76 KB, text/plain)
2015-09-10 16:52 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-09-10 16:52:25 UTC
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 8.1 Beta (Build 201508041349)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Linux

User Comments:
GUEST: I tried to add a Entity from DB Postgres




Stacktrace: 
java.lang.IllegalArgumentException: aType == null
   at org.netbeans.modules.j2ee.persistence.entitygenerator.EntityMember.setMemberType(EntityMember.java:253)
   at org.netbeans.modules.j2ee.persistence.entitygenerator.DbSchemaEntityMember.setPrimaryKey(DbSchemaEntityMember.java:127)
   at org.netbeans.modules.j2ee.persistence.entitygenerator.DbSchemaEjbGenerator.generatePkField(DbSchemaEjbGenerator.java:485)
   at org.netbeans.modules.j2ee.persistence.entitygenerator.DbSchemaEjbGenerator.buildCMPSet(DbSchemaEjbGenerator.java:591)
   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)
Comment 1 Exceptions Reporter 2015-09-10 16:52:27 UTC
Created attachment 156068 [details]
stacktrace
Comment 2 Petr Hejl 2015-09-14 09:51:45 UTC
Can you share relevant DB schema or steps to reproduce? What jdbc driver do you use?
Comment 3 golmatt 2017-09-12 14:53:05 UTC
The problem is present in Netbeans version 8.2 also.
My DBMS is Sybase Anywhere 17.
In my case it does when include on wizard a table with Primary Key of type UNIQUEIDENTIFIER (guid).