Menu

#3 Probelm while creating a new or opening

open
nobody
None
5
2002-09-06
2002-09-06
Anonymous
No

I am getting following errors while executing the
Pollo, could you suggest some thing for that.

java.lang.Error
at javax.swing.UIDefaults.getUIError
(UIDefaults.java:686)
at javax.swing.UIDefaults.getUI
(UIDefaults.java:716)
at javax.swing.UIManager.getUI
(UIManager.java:784)
at javax.swing.JSplitPane.updateUI
(JSplitPane.java:380)
at javax.swing.JSplitPane.<init>
(JSplitPane.java:334)
at javax.swing.JSplitPane.<init>
(JSplitPane.java:289)
at
org.outerj.pollo.xmleditor.XmlEditorPanel.<init>
(XmlEditorPanel.java:141)
at org.outerj.pollo.EditorPanelImpl.<init>
(EditorPanelImpl.java:66)
at org.outerj.pollo.Pollo.createEditorPanel
(Pollo.java:151)
at org.outerj.pollo.Pollo.openFile
(Pollo.java:114)
at
org.outerj.pollo.gui.RecentlyOpenedFilesMenu$Ope
nRecentFileAction.actionPerform
ed(RecentlyOpenedFilesMenu.java:64)
at
javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.ac
tionPerformed(AbstractButton.j
ava:1820)
at
javax.swing.DefaultButtonModel.fireActionPerforme
d(DefaultButtonModel.java:419)

at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick
(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1092)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInpu
tHandler.mouseReleased(BasicMen
uItemUI.java:932)
at java.awt.Component.processMouseEvent
(Component.java:5021)
at java.awt.Component.processEvent
(Component.java:4818)
at java.awt.Container.processEvent
(Container.java:1525)
at java.awt.Component.dispatchEventImpl
(Component.java:3526)
at java.awt.Container.dispatchEventImpl
(Container.java:1582)
at java.awt.Component.dispatchEvent
(Component.java:3367)
at
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3359)
at
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3074)
at
java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3004)
at java.awt.Container.dispatchEventImpl
(Container.java:1568)
at java.awt.Window.dispatchEventImpl
(Window.java:1581)
at java.awt.Component.dispatchEvent
(Component.java:3367)
at java.awt.EventQueue.dispatchEvent
(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHie
rarchy(EventDispatchThread.java:
191)
at
java.awt.EventDispatchThread.pumpEventsForHierar
chy(EventDispatchThread.java:14
4)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:98)
UIDefaults.getUI() failed: no ComponentUI class for:
javax.swing.JSplitPane[,0,0,0x0,inval
id,alignmentX=null,alignmentY=null,border=,flags=
8,maximumSize=,minimumSize=,preferredSize
=,continuousLayout=false,dividerSize=0,lastDivider
Location=0,oneTouchExpandable=false,orie
ntation=VERTICAL_SPLIT]
java.lang.Error
at javax.swing.UIDefaults.getUIError
(UIDefaults.java:686)
at javax.swing.UIDefaults.getUI
(UIDefaults.java:716)
at javax.swing.UIManager.getUI
(UIManager.java:784)
at javax.swing.JSplitPane.updateUI
(JSplitPane.java:380)
at javax.swing.JSplitPane.<init>
(JSplitPane.java:334)
at javax.swing.JSplitPane.<init>
(JSplitPane.java:289)
at
org.outerj.pollo.xmleditor.XmlEditorPanel.<init>
(XmlEditorPanel.java:149)
at org.outerj.pollo.EditorPanelImpl.<init>
(EditorPanelImpl.java:66)
at org.outerj.pollo.Pollo.createEditorPanel
(Pollo.java:151)
at org.outerj.pollo.Pollo.openFile
(Pollo.java:114)
at
org.outerj.pollo.gui.RecentlyOpenedFilesMenu$Ope
nRecentFileAction.actionPerform
ed(RecentlyOpenedFilesMenu.java:64)
at
javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1767)
at
javax.swing.AbstractButton$ForwardActionEvents.ac
tionPerformed(AbstractButton.j
ava:1820)
at
javax.swing.DefaultButtonModel.fireActionPerforme
d(DefaultButtonModel.java:419)

at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:257)
at javax.swing.AbstractButton.doClick
(AbstractButton.java:289)
at
javax.swing.plaf.basic.BasicMenuItemUI.doClick
(BasicMenuItemUI.java:1092)
at
javax.swing.plaf.basic.BasicMenuItemUI$MouseInpu
tHandler.mouseReleased(BasicMen
uItemUI.java:932)
at java.awt.Component.processMouseEvent
(Component.java:5021)
at java.awt.Component.processEvent
(Component.java:4818)
at java.awt.Container.processEvent
(Container.java:1525)
at java.awt.Component.dispatchEventImpl
(Component.java:3526)
at java.awt.Container.dispatchEventImpl
(Container.java:1582)
at java.awt.Component.dispatchEvent
(Component.java:3367)
at
java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3359)
at
java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3074)
at
java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3004)
at java.awt.Container.dispatchEventImpl
(Container.java:1568)
at java.awt.Window.dispatchEventImpl
(Window.java:1581)
at java.awt.Component.dispatchEvent
(Component.java:3367)
at java.awt.EventQueue.dispatchEvent
(EventQueue.java:445)
at
java.awt.EventDispatchThread.pumpOneEventForHie
rarchy(EventDispatchThread.java:
191)
at
java.awt.EventDispatchThread.pumpEventsForHierar
chy(EventDispatchThread.java:14
4)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:98)

Discussion

  • Nobody/Anonymous

    Contains the error !

     
  • Bruno Dumon

    Bruno Dumon - 2002-09-06

    Logged In: YES
    user_id=155468

    Could you provide some more info on how to reproduce this error (if
    possible)?

    Wat platform and Java version are you using?

    Thanks!

     
  • Nobody/Anonymous

    Logged In: NO

    Hi Bruno,
    with response to your query , i am providing the following
    information.
    I was just trying to compile it independently and then run it.
    I am using jdk1.4.
    You can see my class path as given below:

    set PATH=%PATH%;D:\jdk1.4\bin
    set CLASSPATH=%CLASSPATH%;D:\jdk1.4\jre\lib\*.jar
    set CLASSPATH=%CLASSPATH%;D:\jdk1.4\lib\*.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\commons-
    beanutils.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\commons-
    collections.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\commons-
    digester.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\isorelax.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\jaxen-core.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\jaxen-dom.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\jhbasic.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\log4j-core.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\msv.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\pollohelp.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\relaxngDatatyp
    e.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\saxpath.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\xsdlib.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\lib\endorsed\xerce
    s.jar
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\src
    set CLASSPATH=%
    CLASSPATH%;E:\test\Polotest\Pollo\pollo\Classes
    set CLASSPATH=%CLASSPATH%;..\conf;..\build
    echo %CLASSPATH%
    E:
    cd E:\test\Polotest\Pollo\pollo\src\org\outerj\pollo

    java org.outerj.pollo.Pollo
    pause
    Please give it a look and suggest why I am getting this.
    Thanks & regards
    santosh

     
  • Bruno Dumon

    Bruno Dumon - 2002-09-09

    Logged In: YES
    user_id=155468

    Judging from your bat file, I assume you're running Windows
    then? What version?

    Why are you not using the bat file that ships with pollo?

    Have you put any extra jars in your Java's jre/lib/ext dir?

    Also, from the stack-trace it appears that you're opening
    the file from the 'Open Recent files' menu. Is this correct?
    Does that mean that you have once been able to open a file
    in pollo?

    And finally, what pollo version are you using?

    Sorry for all these questions, but without some context I
    can only guess at what might go wrong.

     
  • Santosh K Sahoo

    Santosh K Sahoo - 2002-09-10

    Logged In: YES
    user_id=606795

    Hi Bruno,
    Here is my reply.
    <Bruno>Why are u not using the batch file provided
    with the Pollo?</Bruno>
    <santosh>It is working fine for the batch file but I try
    to understand the flow of the Pollo files & their design ,
    which would help me customize or personalize it
    further.Even I have in mind to see it as a web based
    tool.Therefore I am using my own bat files by setting all
    the jar files into classpath.Is there anything wrong in
    the classpath.Like there should be some essential
    directory that has to be put into the classpath for
    perfect execution.For your clarity I am able to start the
    tool, but the moment I try to open a new or existing file
    (Including most recent files)there after this type of
    errors come
    </santosh>
    <Bruno>
    Have you put any extra jars in your Java's jre/lib/ext dir?

    Also, from the stack-trace it appears that you're opening
    the file from the 'Open Recent files' menu.
    Is this correct?
    Does that mean that you have once been able to open a
    file in pollo?
    And finally, what pollo version are you using?
    </Bruno>
    <santosh>
    I have already explained why I am not using the Pollo's
    batch file.
    As far as putting an extra jar files is concerned, i have
    not added anything extra to my Java's jre/lib/ext dir?
    But I have added the xerces.jar file in the edorsed di of
    Pollo's lib.
    As said earlier I was able to open using Pollos bat
    file.Looks like some error in my classpath but am not
    able figure out , i might have missed some file to put
    into the classpath.

    I am using Pollo 0.3.3 version.

    Thanks a lot .
    Hope now you can figure out some thing for me.
    Thanks again
    </santosh>

     
  • Santosh K Sahoo

    Santosh K Sahoo - 2002-09-10

    Logged In: YES
    user_id=606795

    Besides I am using JDK1.4 in windows Nt ver 4.0
    santosh

     

Log in to post a comment.