Project file broken: "No scenario in specified file."

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Frank Ralf
Posts: 331
Location: Hamburg

Project file broken: "No scenario in specified file."

Wed Sep 06, 2017 4:14 pm

Hi,

Trying to open an existing project file in oXygen 18.1 fails with the following error message. The project file looks okay so I suppose this might be a caching issue? I have been switching between oXygen 16.1 and 18.1 on the same machine. Any pointers welcome.

Best regards,
Frank


Code: Select all

java.io.IOException: No scenario in specified file.
   at ro.sync.options.k.load(Unknown Source)
   at ro.sync.exml.options.Options.loadProjectOptions(Unknown Source)
   at ro.sync.exml.project.c$6.run(Unknown Source)
   at ro.sync.ui.m$1.run(Unknown Source)
   at ro.sync.ui.m.h(Unknown Source)
   at ro.sync.exml.project.c.opi(Unknown Source)
   at ro.sync.exml.project.c.eqi(Unknown Source)
   at ro.sync.exml.project.c.jpi(Unknown Source)
   at ro.sync.exml.project.c.fqi(Unknown Source)
   at ro.sync.exml.project.c.ooi(Unknown Source)
   at ro.sync.exml.project.f.ic.foe(Unknown Source)
   at ro.sync.ui.application.action.q.actionPerformed(Unknown Source)
   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.jidesoft.plaf.vsnet.VsnetMenuItemUI.doClick(Unknown Source)
   at com.jidesoft.plaf.vsnet.VsnetMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
   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.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$500(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.awt.EventQueue$3.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.awt.EventQueue$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue.dispatchEvent(Unknown Source)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
   at java.awt.EventDispatchThread.pumpEventsForFilter(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)
Frank Ralf
parson AG
www.parson-europe.com
adrian
Posts: 2299

Re: Project file broken: "No scenario in specified file."

Wed Sep 06, 2017 5:28 pm

Hi,

What build number of Oxygen 18.1 are you running (Help > About)?
Would it be possible to send us the project file (just the .xpr file) to support@oxygenxml.com ?

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Frank Ralf
Posts: 331
Location: Hamburg

Re: Project file broken: "No scenario in specified file."

Wed Sep 06, 2017 7:11 pm

Hi Adrian,

Thanks for the quick reply. The build number is 2016102619. I will send you the project file but I have to anonymize some customer data beforehand.

Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
Frank Ralf
Posts: 331
Location: Hamburg

Re: Project file broken: "No scenario in specified file."

Tue Sep 12, 2017 1:32 pm

Hi Adrian,

I've sent you the broken project file by e-mail.

Best regards,
Frank
Frank Ralf
parson AG
www.parson-europe.com
adrian
Posts: 2299

Re: Project file broken: "No scenario in specified file."

Thu Sep 14, 2017 4:16 pm

Hi,

In case someone else encounters this issue. This is caused by an Oxygen bug that leads to a broken .xpr file that looks like this (missing project options):

Code: Select all

<project version="18.1">
  <meta>
    <filters directoryPatterns="" filePatterns="" positiveFilePatterns="" showHiddenFiles="false" />
    <options>
      <serialized version="18.1" xml:space="preserve">
                <serializableOrderedMap />
            </serialized>
    </options>
  </meta>
  ...

The solution is to remove the serialized element and what's left in it. So you end up with:

Code: Select all

<project version="18.1">
  <meta>
    <filters directoryPatterns="" filePatterns="" positiveFilePatterns="" showHiddenFiles="false" />
    <options/>
  </meta>

This bug has been resolved in the current development stream and the bugfix will be included starting with v19.1.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 1 guest