cancel
Showing results for 
Search instead for 
Did you mean: 

Pbm while importing a DTD

Former Member
0 Kudos

Hi

I have a strange pbm..XI throws a NULL Exception while activating an external DTD.

The DTD simply contains

[code]

<!ENTITY % SEGMENTS SYSTEM "oagis_segments.dtd">

%SEGMENTS;

<!ENTITY % EXTENSIONS SYSTEM "oagis_extensions.dtd">

%EXTENSIONS;

[/code]

The Error thrown in processing log is

Activation of the change list canceled Check result for External Definition resources | http://xxxx.xx/xi/acc_invoice_receipt03: Document check found errors Cause: Unable to recognize the loaded document as valid DTD Error when parsing DTD document com.sap.aii.utilxi.dtd.api.DtdException: Wrong declaration: " %EXTENSIONS;"

[code]

Details

Internal problem occurred (INTERNAL_PROBLEM)

MESSAGE ID: com.sap.aii.utilxi.swing.framework.rb_exceptions.INTERNAL_PROBLEM

STACKTRACE:

com.sap.aii.utilxi.swing.framework.FrameworkException: Internal problem occurred

at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.init(ExceptionDialog.java:116)

at com.sap.aii.utilxi.swing.toolkit.ExceptionDialog.<init>(ExceptionDialog.java:93)

at com.sap.aii.utilxi.swing.toolkit.Guitilities.showExceptionDialog(Guitilities.java:1137)

at com.sap.aii.utilxi.swing.toolkit.Guitilities.showExceptionDialog(Guitilities.java:1125)

at com.sap.aii.utilxi.swing.framework.Application.notifyFrameworkListeners(Application.java:412)

at com.sap.aii.ib.gui.operations.SubmitCommand.revertChangelist(SubmitCommand.java:385)

at com.sap.aii.ib.gui.operations.SubmitCommand.doMoveAndSubmit(SubmitCommand.java:374)

at com.sap.aii.ib.gui.operations.SubmitCommand.doSubmitSingleOject(SubmitCommand.java:311)

at com.sap.aii.ib.gui.operations.SubmitCommand.execute(SubmitCommand.java:169)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)

at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.AbstractButton.doClick(Unknown Source)

at com.sap.plaf.frog.FrogMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased(FrogMenuItemUI.java:906)

at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)

at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)

at javax.swing.JMenuItem.processMouseEvent(Unknown Source)

at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)

at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:835)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

java.lang.NullPointerException

STACKTRACE:

java.lang.NullPointerException

at com.sap.aii.ibrep.gui.interfaces.ExternalDefinitionController.genericFrameworkEvent(ExternalDefinitionController.java:92)

at com.sap.aii.ib.gui.operations.SubmitCommand$3.notify(SubmitCommand.java:387)

at com.sap.aii.utilxi.swing.framework.Application.notifyFrameworkListeners(Application.java:408)

at com.sap.aii.ib.gui.operations.SubmitCommand.revertChangelist(SubmitCommand.java:385)

at com.sap.aii.ib.gui.operations.SubmitCommand.doMoveAndSubmit(SubmitCommand.java:374)

at com.sap.aii.ib.gui.operations.SubmitCommand.doSubmitSingleOject(SubmitCommand.java:311)

at com.sap.aii.ib.gui.operations.SubmitCommand.execute(SubmitCommand.java:169)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.execute(ExecutionContext.java:196)

at com.sap.aii.utilxi.swing.framework.ExecutionContext.executeSafe(ExecutionContext.java:134)

at com.sap.aii.utilxi.swing.framework.CommandAction.actionPerformed(CommandAction.java:69)

at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

at javax.swing.AbstractButton.doClick(Unknown Source)

at com.sap.plaf.frog.FrogMenuItemUI$MenuDragMouseHandler.menuDragMouseReleased(FrogMenuItemUI.java:906)

at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)

at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)

at javax.swing.JMenuItem.processMouseEvent(Unknown Source)

at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)

at com.sap.plaf.frog.FrogMenuItemUI$MouseInputHandler.mouseReleased(FrogMenuItemUI.java:835)

at java.awt.Component.processMouseEvent(Unknown Source)

at javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

[/code]

I have already imported and activated the reference DTDs mentioned..

Any Clues!! Is this an XI bug??

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Had some connection issues..so didn't reply immediately!!

It did turn out to be a bug..We need to have atleast a comment after %Extension; to activate the DTD.Gotto chk if thatz the intended functionality, cos Spy doesn't crib at all.

The issue arises when XI tries to convert the DTD into a WSDL..

Former Member
0 Kudos

Hi Sriram,

I think that the bug will be corrected with SP16 which is hopefully available in the midst of December.

Greetings

Stephan

Former Member
0 Kudos

HI Stephan

Thanks for the update on the SP.. I see quite a lot of issues with DTD imports..I have put one more query in another msg!!..

I was wondering if SAP should provide a list of issues to look for in a DTD before importing so that we can readily validate every DTD against this WAtch for list!!

Former Member
0 Kudos

Hi Sriram,

in the documentation you find a hint where you can find a hint where to look for a document that describes known limitations in XSD and DTD handling. However, this document does not describe bugs and when they are/will be fixed.

I do not think that more will be provided. Such a document would be rather difficult to maintain, and probably never could be reliable.

Greetings

Stephan