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.
build 070420 + mobility pack -create new web application -start new entity classes from dsatabase wizard -click on new persistence unit button -ERROR: nothing is created -EXCEPTION: java.lang.IllegalArgumentException: File URL pointing to JAR is not valid classpath entry. Use jar: URL. Was: nbinst:/external/proguard/proguard3.5.jar at org.netbeans.spi.java.classpath.support.ClassPathSupport.createResource(ClassPathSupport.java:59) at org.netbeans.spi.java.classpath.support.ClassPathSupport.createClassPath(ClassPathSupport.java:137) at org.netbeans.modules.j2ee.persistence.wizard.library.PersistenceLibrarySupport.getLibraryClassPath(PersistenceLibrarySupport.java:237) at org.netbeans.modules.j2ee.persistence.wizard.library.PersistenceLibrarySupport.getProvidersFromLibraries(PersistenceLibrarySupport.java:292) at org.netbeans.modules.j2ee.persistence.util.PersistenceProviderComboboxHelper.addProvidersFromLibraries(PersistenceProviderComboboxHelper.java:169) at org.netbeans.modules.j2ee.persistence.util.PersistenceProviderComboboxHelper.initCombo(PersistenceProviderComboboxHelper.java:154) at org.netbeans.modules.j2ee.persistence.util.PersistenceProviderComboboxHelper.connect(PersistenceProviderComboboxHelper.java:92) at org.netbeans.modules.j2ee.persistence.wizard.unit.PersistenceUnitWizardPanelDS.<init>(PersistenceUnitWizardPanelDS.java:68) at org.netbeans.modules.j2ee.persistence.wizard.Util.buildPersistenceUnitUsingWizard(Util.java:367) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.EntityClassesPanel.createPUButtonActionPerformed(EntityClassesPanel.java:395) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.EntityClassesPanel.access$300(EntityClassesPanel.java:58) at org.netbeans.modules.j2ee.persistence.wizard.fromdb.EntityClassesPanel$4.actionPerformed(EntityClassesPanel.java:307)
*** Issue 101983 has been marked as a duplicate of this issue. ***
This is a stopper for M9 since basic functionality is broken.
I can't reproduce without the mobility pack, but looks like this needs to be fixed in j2ee/persistence.
The exception needs to be avoided in j2ee/persistence (see FileUtil.isArchiveFile() and FileUtil.getArchiveRoot()), but I would also suggest the ProGuard URL be a jar URL, as is the case for the other libraries. That is, "jar:nbinst:///external/proguard/proguard3.5.jar!/". Please reassign to mobility after fixing in j2ee/persistence.
*** Issue 102131 has been marked as a duplicate of this issue. ***
The exception is now avoided in j2ee/persistence. Reassigning to mobility, see abadea's comment above. Not sure about the correct priority and TM, so please re-evaluate. I'm downgrading this to P2 for now. Checking in PersistenceLibrarySupport.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/wizard/library/ PersistenceLibrarySupport.java,v <-- PersistenceLibrarySupport.java new revision: 1.6; previous revision: 1.5 done
The issue isn't M9 stopper now.
changing the Target Milestone to TBD because the origin one finished already. Please reschedule
already fixed with ProGuard 3.7 integration
v