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 246256 - java.io.IOException: The project org.netbeans.gradle.project.NbGradleProject@6570973f does not have an implementation of PersistenceLocationProvider in its lookup
Summary: java.io.IOException: The project org.netbeans.gradle.project.NbGradleProject@...
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-04 17:05 UTC by kosmonaffft
Modified: 2015-07-09 10:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 209383


Attachments
stacktrace (1.86 KB, text/plain)
2014-08-04 17:05 UTC, kosmonaffft
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kosmonaffft 2014-08-04 17:05:02 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12
OS: Windows 8

User Comments:
tomasbabic: Tryiing to create PU

kosmonaFFFt: Try to create persistence unit...




Stacktrace: 
java.io.IOException: The project org.netbeans.gradle.project.NbGradleProject@6570973f does not have an implementation of PersistenceLocationProvider in its lookup
   at org.netbeans.modules.j2ee.persistence.api.PersistenceLocation.createLocation(PersistenceLocation.java:94)
   at org.netbeans.modules.j2ee.persistence.provider.ProviderUtil.createPersistenceDDFile(ProviderUtil.java:847)
   at org.netbeans.modules.j2ee.persistence.provider.ProviderUtil.getPUDataObject(ProviderUtil.java:810)
   at org.netbeans.modules.j2ee.persistence.wizard.Util.createPersistenceUnitUsingWizard(Util.java:609)
   at org.netbeans.modules.j2ee.persistence.wizard.Util.createPersistenceUnitUsingWizard(Util.java:689)
   at org.netbeans.modules.j2ee.jpa.verification.fixes.CreatePersistenceUnit$1.run(CreatePersistenceUnit.java:73)
Comment 1 kosmonaffft 2014-08-04 17:05:05 UTC
Created attachment 148531 [details]
stacktrace
Comment 2 Sergey Petrov 2014-08-04 19:21:43 UTC
Suppose it should be filed against gradle plugin, but I know nothing about this plugin.
Comment 3 cezariusz 2014-12-05 10:44:21 UTC
Why was it closed as invalid? It's perfectly valid and has nothing to do with gradle.
Comment 4 Sergey Petrov 2014-12-05 11:19:05 UTC
I'll recheck if persistence itself isn't registered properly and it cause appearance of corresponding wizards in platform/gradle etc. This wizard should be available for these projects, it's the issue, but it may be gradle/platform/etc modules issue anyway.
Comment 5 Exceptions Reporter 2014-12-30 19:33:05 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=209383
Comment 6 Petr Hejl 2015-06-02 14:33:24 UTC
Fixed in web-main e4382876c067.
Comment 7 Quality Engineering 2015-06-03 02:26:59 UTC
Integrated into 'main-silver', will be available in build *201506030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e4382876c067
User: Petr Hejl <phejl@netbeans.org>
Log: #246256 - java.io.IOException: The project org.netbeans.gradle.project.NbGradleProject@6570973f does not have an implementation of PersistenceLocationProvider in its lookup