Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Trouble with Deployment Tool  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Just downloaded the J2EE reference edition and installed it on my Windows 2000 Professional machine. The J2EE application server installs fine and runs. The deployment tool started one time and I proceeded to test an example from the Sun tutorial. The beans, servlets etc. compiled fine but I could not deploy the bean. Subsequently I am not even able to start the deploytool anymore! It gives the following messages when i try to run it. Any help would be appreciated. Thanks
--------------------------
Deployment tool version 1.2.1. Type deploytool -help for command line options. S
tarting...
Exception in thread "main" java.lang.NullPointerException
at javax.swing.text.LabelView.syncFragments(LabelView.java:110)
at javax.swing.text.LabelView.getPreferredSpan(LabelView.java:290)
at javax.swing.text.ParagraphView.calculateMinorAxisRequirements(Paragra
phView.java:642)
at javax.swing.text.html.ParagraphView.calculateMinorAxisRequirements(Pa
ragraphView.java:138)
at javax.swing.text.BoxView.checkRequests(BoxView.java:822)
at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:285)
at javax.swing.text.html.ParagraphView.getMinimumSpan(ParagraphView.java
:223)
at javax.swing.text.BoxView.calculateMinorAxisRequirements(BoxView.java:
794)
at javax.swing.text.BoxView.checkRequests(BoxView.java:822)
at javax.swing.text.BoxView.getMinimumSpan(BoxView.java:285)
at javax.swing.plaf.basic.BasicTextUI$RootView.getMinimumSpan(BasicTextU
I.java:934)
at javax.swing.plaf.basic.BasicTextUI.getMinimumSize(BasicTextUI.java:57
8)
at javax.swing.JEditorPane.getScrollableTracksViewportWidth(JEditorPane.
java:1053)
at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:938)
at javax.swing.text.JTextComponent.getPreferredScrollableViewportSize(JT
extComponent.java:1389)
at javax.swing.ViewportLayout.preferredLayoutSize(ViewportLayout.java:75
)
at java.awt.Container.preferredSize(Container.java:640)
at java.awt.Container.getPreferredSize(Container.java:623)
at javax.swing.JComponent.getPreferredSize(JComponent.java:707)
at javax.swing.ScrollPaneLayout.preferredLayoutSize(ScrollPaneLayout.jav
a:459)
at java.awt.Container.preferredSize(Container.java:640)
at java.awt.Container.getPreferredSize(Container.java:623)
at javax.swing.JComponent.getPreferredSize(JComponent.java:707)
at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:796)
at java.awt.GridBagLayout.preferredLayoutSize(GridBagLayout.java:555)
at java.awt.Container.preferredSize(Container.java:640)
at java.awt.Container.getPreferredSize(Container.java:623)
at javax.swing.JComponent.getPreferredSize(JComponent.java:707)
at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateSi
ze(BasicTabbedPaneUI.java:1232)
at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.preferredLa
youtSize(BasicTabbedPaneUI.java:1190)
at java.awt.Container.preferredSize(Container.java:640)
at java.awt.Container.getPreferredSize(Container.java:623)
at javax.swing.JComponent.getPreferredSize(JComponent.java:707)
at java.awt.FlowLayout.layoutContainer(FlowLayout.java:421)
at java.awt.Container.layout(Container.java:490)
at java.awt.Container.doLayout(Container.java:480)
at com.sun.enterprise.tools.deployment.ui.DeployToolWindow.refreshApplic
ationInspectorFor(DeployToolWindow.java:301)
at com.sun.enterprise.tools.deployment.ui.DeployToolWindow$4.valueChange
d(DeployToolWindow.java:270)
at javax.swing.JTree.fireValueChanged(JTree.java:2053)
at javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:235
3)
at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTr
eeSelectionModel.java:583)
at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTr
eeSelectionModel.java:899)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultT
reeSelectionModel.java:245)
at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTr
eeSelectionModel.java:140)
at javax.swing.JTree.setSelectionPath(JTree.java:977)
at com.sun.enterprise.tools.deployment.ui.DeployToolWindow.registerForTi
tleUpdates(DeployToolWindow.java:134)
at com.sun.enterprise.tools.deployment.ui.DeployToolWindow.<init>(Deploy
ToolWindow.java:68)
at com.sun.enterprise.tools.deployment.main.DeployTool.<init>(DeployTool
.java:66)
at com.sun.enterprise.tools.deployment.main.Main.main(Main.java:65)
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind. I figured it out. It was a version mismatch for my J2SE. Downloading version 1.2.2_006 and installing it made everything work just fine.
Bye
kavresh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!