I get the same Exception when I try to set a main class in the properties of a project. Almost all of the projects I open are not created from the archetype, but custom edited. Same configuration too 5.5.1 and latest Mevenide listed on the Mevenide 2 website.
I actually upgraded from 5.5 to see if this problem would go away. It didn't.. Should I upgrade to 6.0? Ravi On 9/5/07, Milos Kleint <[EMAIL PROTECTED]> wrote: > I've checked the stacktrace and it's not clear to me how a NPE could > get there. Does it happen for you all the time? can you try on a > sample quickstart project created from archetype? > I'm personally using Nb 6.0 + mevenide 3.0.x (close to what ships on > netbeans AU for milestone 10) and use this feature occationally. This > code is almost the same. > > Not sure if pasting the pom snippet is enough. an assempty descriptor > is also generated and you might be missing that one tool. Maybe I can > send you a zipped sample project privately? > > Milos > > On 9/5/07, Demian Mrakovich <[EMAIL PROTECTED]> wrote: > > > > Now, that would be great - if it worked. > > > > > > When trying this in Netbeans 5.5.1, Maven 2 project support 2.3.4: > > > > java.lang.NullPointerException > > at > > org.codehaus.mevenide.netbeans.customizer.RunJarPanel.checkAssemblyPlugin(RunJarPanel.java:337) > > at > > org.codehaus.mevenide.netbeans.customizer.RunJarPanel.applyChanges(RunJarPanel.java:274) > > at > > org.codehaus.mevenide.netbeans.customizer.CustomizerProviderImpl$OptionListener.actionPerformed(CustomizerProviderImpl.java:236) > > at > > org.netbeans.modules.project.uiapi.CustomizerDialog$OptionListener.actionPerformed(CustomizerDialog.java:162) > > at > > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849) > > ...... > > > > > > Anyone care to share the actual XML for pom.xml? > > > > > > > > Milos Kleint wrote: > > > > > > that's in project's popup menu. last item on the list.. Properties.. > > > there in Run tab, you set the main class. > > > > > > Milos > > > > > > On 8/28/07, [EMAIL PROTECTED] > > > <[EMAIL PROTECTED]> wrote: > > >> Hi, > > >> > > >> I have opened few maven project. I use NB6 Ms10 with external maven build > > >> enabled. The maven version I have is 2.0.7. I am able to compile( mvn > > >> install) the project. Now when I try to execute the same I get the > > >> following message. > > >> > > >> "In order to run the project, Netbeans needs a custom profile in your > > >> pom.xml . To create and customise the profile, go to the project's > > >> Properties dialog and update the Run Panel." > > >> > > >> I can see profiles tag in settings.xml but nothing in pom.xml. Any help > > >> appretiated. I want to run the programs in debug mode to understand what > > >> happens. > > >> > > >> > > >> Thanks & Regards, > > >> Jayaram > > >> > > > > > > > > > > -- > > View this message in context: > > http://www.nabble.com/Debugging-Maven-in-Netbeans-tf4341676s177.html#a12495884 > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
