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 30501 - Build-all fails on Web Module
Summary: Build-all fails on Web Module
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -S1S-
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 02:13 UTC by John Baker
Modified: 2003-02-04 11:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Web app is in the webapp folder, Session Bean is in the "Package" folder (28.79 KB, application/octet-stream)
2003-01-30 02:27 UTC, John Baker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Baker 2003-01-30 02:13:53 UTC
Using kit 030127 on Windows 2000

I have a web module that has a reference to a
Session EJB.
When I do a build all on the mounted web module,
an exception
occurs.  Also, I'm using J2SE 1.4.0_03 and S1AS is
installed:

Annotation: Exception occurred in Request Processor

java.lang.NoSuchMethodError:
org.netbeans.modules.web.webdata.WebDataFactory.getFactory()Lorg/netbeans/modules/web/webdata/WebDataFactoryImpl;

	at
com.iplanet.ias.tools.forte.compile.TomcatOptionsImpl.findDO(TomcatOptionsImpl.java:132)

	at
com.iplanet.ias.tools.forte.compile.TomcatOptionsImpl.<init>(TomcatOptionsImpl.java:71)

	at
com.iplanet.ias.tools.forte.compile.TomcatCompileContext$TomcatDevelopmentCompilation.initialize(TomcatCompileContext.java:209)

	at
com.iplanet.ias.tools.forte.compile.TomcatCompileContext$TomcatDevelopmentCompilation.<init>(TomcatCompileContext.java:193)

	at
com.iplanet.ias.tools.forte.compile.TomcatCompileContext.getDevelopmentCompilation(TomcatCompileContext.java:122)

	at
org.netbeans.modules.web.core.jsploader.JspDataObject.getCookie(JspDataObject.java:173)

	at
org.openide.actions.AbstractCompileAction.resolveCookie(AbstractCompileAction.java:468)

	at
org.openide.actions.AbstractCompileAction.processObject(AbstractCompileAction.java:410)

	at
org.openide.actions.AbstractCompileAction.access$100(AbstractCompileAction.java:39)

	at
org.openide.actions.AbstractCompileAction$1.alter(AbstractCompileAction.java:391)

	at
org.openide.util.enum.AlterEnumeration.nextElement(AlterEnumeration.java:55)

	at
org.openide.util.enum.SequenceEnumeration.nextElement(SequenceEnumeration.java:88)

	at
org.openide.util.enum.FilterEnumeration.hasMoreElements(FilterEnumeration.java:64)

	at
org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:359)

	at
org.openide.actions.AbstractCompileAction.access$000(AbstractCompileAction.java:39)

	at
org.openide.actions.AbstractCompileAction$Cmp.addToJob(AbstractCompileAction.java:281)

	at
org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:361)

	at
org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:329)

	at
org.openide.actions.AbstractCompileAction.compileNodes2(AbstractCompileAction.java:132)

	at
org.openide.actions.AbstractCompileAction.performAction(AbstractCompileAction.java:45)

	at
org.openide.util.actions.NodeAction.performAction(NodeAction.java:184)

	at
org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:175)

	at
org.netbeans.core.ModuleActions$1.run(ModuleActions.java:95)

	at org.openide.util.Task.run(Task.java:136)

	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:313)

[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:650)
Comment 1 John Baker 2003-01-30 02:27:56 UTC
Created attachment 8734 [details]
Web app is in the webapp folder, Session Bean is in the "Package" folder
Comment 2 John Baker 2003-01-30 02:29:43 UTC
please unzip webapp_sessionbean.zip in a folder
Mount the folder so that webapp and Package are packages
Mount the webapp
Select the root of webapp and do a build or build-all.
The exception should occur.
Comment 3 _ rkubacki 2003-01-30 10:12:19 UTC
There is (incompatible) change in web modules that requires changes in
dependent modules such as iPlanet plugin in this case. See the issue
27212 for more information.

To adapt the code replace WebDataFactoryImpl with WebDataFactory.
Comment 4 John Baker 2003-01-31 19:27:17 UTC
Appears to be fixed in kit 030130_3.
-John Baker
Comment 5 John Baker 2003-02-03 23:00:05 UTC

This bug has been fixed by Ludo and I told him I could close it.
I'm reopening then I'll close it as verified.
-John Baker
Comment 6 John Baker 2003-02-03 23:00:55 UTC
Fixed by Ludo
Comment 7 John Baker 2003-02-03 23:02:15 UTC
Verified as fixed in kit 030130_5 and 030202
Comment 8 John Baker 2003-02-03 23:03:07 UTC
Closing, no longer an issue