关于第五章在部署时出现的问题

luo63275290 05-05-24

能编译通过,在部署时出现以下错误。请板桥兄给予提示!

环境:JBoss4.0.1+Jbuild 9+Win2000AD

java.lang.NullPointerException

at de.gedoplan.opentools.jboss.JBossDescriptorConversion30.generateRelation(JBossDescriptorConversion30.java:308)

at de.gedoplan.opentools.jboss.JBossDescriptorConversion30.generateJbossCmp20DeploymentDescriptor(JBossDescriptorConversion30.java:273)

at de.gedoplan.opentools.jboss.JBossDescriptorConversion24.generate(JBossDescriptorConversion24.java:322)

at com.borland.jbuilder.enterprise.ejb.AbstractDescriptorConversion.convert(Unknown Source)

at de.gedoplan.opentools.jboss.JBossTargeting30.updateDeploymentDescriptors(JBossTargeting30.java:93)

at com.borland.jbuilder.enterprise.ejb.ejbmodeler.JbEjbModelerViewer.g(Unknown Source)

at com.borland.jbuilder.enterprise.ejb.ejbmodeler.JbEjbModelerViewer.setBufferContent(Unknown Source)

at com.borland.primetime.viewer.AbstractBufferNodeViewer.setBufferContent(Unknown Source)

at com.borland.primetime.viewer.AbstractBufferNodeViewer.a(Unknown Source)

at com.borland.primetime.viewer.AbstractBufferNodeViewer.browserActivated(Unknown Source)

at com.borland.primetime.ide.xh.windowActivated(Unknown Source)

at java.awt.AWTEventMulticaster.windowActivated(AWTEventMulticaster.java:327)

at java.awt.Window.processWindowEvent(Window.java:1119)

at javax.swing.JFrame.processWindowEvent(JFrame.java:266)

at java.awt.Window.processEvent(Window.java:1066)

at java.awt.Component.dispatchEventImpl(Component.java:3639)

at java.awt.Container.dispatchEventImpl(Container.java:1623)

at java.awt.Window.dispatchEventImpl(Window.java:1590)

at java.awt.Component.dispatchEvent(Component.java:3480)

at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)

at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:734)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:340)

at java.awt.Component.dispatchEventImpl(Component.java:3509)

at java.awt.Container.dispatchEventImpl(Container.java:1623)

at java.awt.Window.dispatchEventImpl(Window.java:1590)

at java.awt.Component.dispatchEvent(Component.java:3480)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

at java.awt.SentEvent.dispatch(SentEvent.java:50)

at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:143)

at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:169)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:245)

at java.awt.Component.dispatchEventImpl(Component.java:3509)

at java.awt.Container.dispatchEventImpl(Container.java:1623)

at java.awt.Window.dispatchEventImpl(Window.java:1590)

at java.awt.Component.dispatchEvent(Component.java:3480)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

at java.awt.SequencedEvent.dispatch(SequencedEvent.java:129)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

banq
2005-05-25 08:47

从de.gedoplan.opentools.jboss估计你的应用部署包里包含了一些不必要驱动包,使用winrar打开.ear或.war check them