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.
I'm using the same project in NB beta 1 and NB beta 2. In NB beta 1 all is ok. When I use a project in NB beta 2 it fails with this error: Exception in thread "AWT-EventQueue-0" javax.persistence.PersistenceException: No Persistence provider for EntityManager named ZakazkyTestPU: The following providers: oracle.toplink.essentials.PersistenceProvider oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider Returned null to createEntityManagerFactory. at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:154) at pzs.PZSApp.propertyChange(PZSApp.java:198) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at org.jdesktop.application.AbstractBean$EDTPropertyChangeSupport.firePropertyChange(AbstractBean.java:147) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.jdesktop.application.AbstractBean.firePropertyChange(AbstractBean.java:122) at pzs.PZSApp.setPersistenceProperties(PZSApp.java:87) at pzs.PZSApp.ready(PZSApp.java:169) at org.jdesktop.application.Application$DoWaitForEmptyEventQ.finished(Application.java:408) at org.jdesktop.application.Task.done(Task.java:750) at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160) at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) When the project is stored in the implicit folder in Documents and Settings\.. \Documents\NetBeansProjects then all is ok.
Can it be caused by the update of beans binding library? Reassigning to "form".
Did you try to clean/build the project? Did it help? > When the project is stored in the implicit folder in Documents and Settings\..\Documents\NetBeansProjects > then all is ok. What is the name of the folder where is the problematic project stored? Does the folder (or path to this folder) contain some non-ASCII characters?
> Did you try to clean/build the project? Did it help? Of course I did. But it dosn't help. > What is the name of the folder where is the problematic project stored? Does the folder (or path to this folder) > contain some non-ASCII characters? Here is the full path d:\_Programovani\1 Java\4 Projects\2 Rozpracované\PZS-1.0.0\src\ I will check another path without non-ASCII characters.
>> Did you try to clean/build the project? Did it help? > Of course I did. But it dosn't help. I thought so, but I have to verify that ;-). > Here is the full path > d:\_Programovani\1 Java\4 Projects\2 Rozpracované\PZS-1.0.0\src\ That seems to be the root of the problem. Recently, we have found out that TopLink has problems with directories with some non-ASCII characters. Unfortunately, we cannot fix or workaround that. It must be fixed in TopLink library itself. It is a regression in the latest TopLink builds - the version bundled with NetBeans 6.0 Beta 1 didn't have this problem. *** This issue has been marked as a duplicate of 119567 ***
I have changed the path from d:\_Programovani\1 Java\4 Projects\2 Rozpracované\PZS-1.0.0\ to d:\_Programovani\1 Java\4 Projects\2 Rozpracovane\PZS-1.0.0\ and now it is working.