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 183404 - CRUD Sample doesn't work
Summary: CRUD Sample doesn't work
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2010-04-02 13:28 UTC by Jiri Rechtacek
Modified: 2010-04-09 04:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
CNFE (4.69 KB, text/plain)
2010-04-02 13:28 UTC, Jiri Rechtacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2010-04-02 13:28:20 UTC
Created attachment 96601 [details]
CNFE

Product Version         = NetBeans IDE Dev (Build 100401-14cb2563b249) (#14cb2563b249)
  Operating System        = Linux version 2.6.31-20-generic running on amd64
  Java; VM; Vendor        = 1.6.0_18; Java HotSpot(TM) 64-Bit Server VM 16.0-b13; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_18-b06
  Java Home               = /usr/local/share/java/jdk1.6.0_18/jre

Ant nor Maven version of CRUD sample doesn't work. The running application throws: ClassNotFoundException: javax.persistence.metamodel.SingularAttribute
Comment 1 Jiri Rechtacek 2010-04-07 14:40:06 UTC
core-main/rev/b36aab155070 - Maven version should work now
Comment 2 Jiri Rechtacek 2010-04-08 08:22:18 UTC
A cause of this regression hasn't been know yet, but definitely some change outside apisupport.crudsample. If any recent apisupport.crudsample is transfered into 6.9M1 build, it works correctly. I keep finding the cause...
Comment 3 Jiri Rechtacek 2010-04-08 15:22:01 UTC
Should be fixed core-main/rev/f08511020f39. Caused by some regression (will be filed independently), the fix makes application structure simpler which works - for both persistence libraries - TopLink, EclipseLink)
Comment 4 Quality Engineering 2010-04-09 04:46:53 UTC
Integrated into 'main-golden', will be available in build *201004090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b36aab155070
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: part of #183404 -  CRUD Sample doesn't work  on Maven