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 224726 - IllegalArgumentException: aType == null
Summary: IllegalArgumentException: aType == null
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.3
Hardware: All All
: P4 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-10 21:42 UTC by Exceptions Reporter
Modified: 2015-02-04 03:29 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 197403


Attachments
stacktrace (2.59 KB, text/plain)
2013-01-10 21:42 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-01-10 21:42:07 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 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)
Comment 1 Exceptions Reporter 2013-01-10 21:42:09 UTC
Created attachment 130089 [details]
stacktrace
Comment 2 Sergey Petrov 2013-01-10 21:59:17 UTC
as well as 192609 may need a fix in db side
Comment 3 Jaroslav Havlin 2013-01-11 10:36:16 UTC
Sergey, can you reproduce the bug?
We will probably need structure of the database table that causes this problem.
Comment 4 Sergey Petrov 2013-01-11 11:08:49 UTC
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.
Comment 5 Quality Engineering 2015-02-04 03:29:58 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.