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 33255 - Need better error handling for missing attributes in deployment file
Summary: Need better error handling for missing attributes in deployment file
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-25 12:57 UTC by _ rkubacki
Modified: 2006-06-05 00:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2003-04-25 12:57:24 UTC
If class name for name-mapper is missing in file
with deployment information followinig exception
is thrown: 

java.lang.ClassNotFoundException: Will not load
classes from default package
        at
org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:142)
        at
java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at
org.netbeans.modules.j2ee.deployment.impl.Server.getClassFromPlugin(Server.java:159)
        at
org.netbeans.modules.j2ee.deployment.impl.Server.getTargetResolver(Server.java:196)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargetResolver(ServerInstance.java:107)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerTarget.<init>(ServerTarget.java:33)
        at
org.netbeans.modules.j2ee.deployment.impl.ServerInstance.getTargets(ServerInstance.java:85)
        at
org.netbeans.modules.j2ee.deployment.impl.ui.InstanceNode.<init>(InstanceNode.java:38)
        at
org.netbeans.modules.j2ee.deployment.impl.ui.ServerNode.addInstance(ServerNode.java:52)
        at
org.netbeans.modules.j2ee.deployment.impl.ui.ServerRegistryNode.addInstance(ServerRegistryNode.java:101)
        at
org.netbeans.modules.j2ee.deployment.impl.ui.ServerRegistryNode.<init>(ServerRegistryNode.java:87)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
Comment 1 Nam Nguyen 2004-01-26 21:02:41 UTC
Fixed