Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

J2EE Deployment Tool problem

0 views
Skip to first unread message

David Herst

unread,
Jan 18, 2001, 4:46:10 PM1/18/01
to
I'm just starting to use the J2EE deployment tool for EJBs. I get an
error restarting the tool when I do the following:

1. Start the J2EE server locally.
2. Start the deployment tool with the GUI
3. In the tool, open an application (EAR) containing a bean and
redeploy the application
4. Successfully test the application with a client.
5. In the tool, do File | Save
6. Close the deployment tool.
7. Immediately reopen the deployment tool with the GUI.

The last step produces the NullPointerException shown below.

Additional notes: I'm using:

* Windows 2000
* J2EE v1.2.1, just downloaded and installed yesterday.
* JDK 1.2.

The problem doesn't occur when I use JDK 1.3, so obviously I should.
But is this version of J2EE not compatible with JDK 1.2? Or is
something else causing the exception? I'd like to understand what's
going on.

Thanks
David Herst

Here's the exception:

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(ParagraphView.java:642)

at
javax.swing.text.html.ParagraphView.calculateMinorAxisRequirements(ParagraphView.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(BasicTextUI.java:934)

at
javax.swing.plaf.basic.BasicTextUI.getMinimumSize(BasicTextUI.java:578)
at
javax.swing.JEditorPane.getScrollableTracksViewportWidth(JEditorPane.java:1053)

at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:938)
at
javax.swing.text.JTextComponent.getPreferredScrollableViewportSize(JTextComponent.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.java: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.calculateSize(BasicTabbedPaneUI.java:1232)

at
javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.preferredLayoutSize(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.refreshApplicationInspectorFor(DeployToolWindow.java:301)

at
com.sun.enterprise.tools.deployment.ui.DeployToolWindow$4.valueChanged(DeployToolWindow.java:270)

at javax.swing.JTree.fireValueChanged(JTree.java:2053)
at
javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:2353)
at
javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:583)

at
javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:899)

at
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:245)

at
javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:140)

at javax.swing.JTree.setSelectionPath(JTree.java:977)
at
com.sun.enterprise.tools.deployment.ui.DeployToolWindow.registerForTitleUpdates(DeployToolWindow.java:134)

at
com.sun.enterprise.tools.deployment.ui.DeployToolWindow.<init>(DeployToolWindow.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)


guya...@my-deja.com

unread,
Jan 18, 2001, 11:03:34 PM1/18/01
to
In article <3A676517...@si.rr.com>,

David Herst <dhe...@si.rr.com> wrote:
> I'm just starting to use the J2EE deployment tool for EJBs.

Sun's deployment tool?


Sent via Deja.com
http://www.deja.com/

0 new messages