Ticket #2407 (closed bug: obsolete)

Opened 10 years ago

Last modified 9 years ago

inserting-video-win-server -- Inserting large videos on server book throw exception (windows server)

Reported by: deyan Owned by: meddle
Priority: major Milestone: X3
Component: uncategorized Version: 2.0
Keywords: server Cc: meddle
Category: unknown Effort:
Importance: Ticket_group:
Estimated Number of Hours: 0 Add Hours to Ticket: 0
Billable?: yes Total Hours: 0
Analysis_owners: deyan Design_owners: meddle
Imp._owners: meddle Test_owners:
Analysis_reviewers: meddle Changelog: Changelog
Design_reviewers: pap Imp._reviewers: deyan, todor, pap
Test_reviewers: Analysis_score: 3.5
Design_score: 4 Imp._score: 4
Test_score: 0

Description

Insert a video >60MB in a book on server (running on windows), an exception occurs.

Change History

comment:1 Changed 10 years ago by deyan

java.lang.StringIndexOutOfBoundsException: String index out of range: -1

at java.lang.String.substring(Unknown Source)
at org.sophie2.base.model.book.resource.ResourceFilesUtil.getDir(ResourceFilesUtil.java:177)
at org.sophie2.base.model.book.resource.ResourceFilesUtil.getFilesDir(ResourceFilesUtil.java:119)
at org.sophie2.base.model.book.resource.ResourceFilesUtil.getFilesDir(ResourceFilesUtil.java:92)
at org.sophie2.base.model.book.resource.ResourceFilesUtil.storeFile(ResourceFilesUtil.java:53)
at org.sophie2.main.func.resources.imports.BinaryResourceImportManager.getBinData(BinaryResourceImportManager.java:113)
at org.sophie2.main.func.media.MediaImportManager.getResourceData(MediaImportManager.java:37)
at org.sophie2.main.func.media.MediaImportManager.getResourceData(MediaImportManager.java:26)
at org.sophie2.main.func.resources.imports.ResourceImportManager.retrieveResourceInfo(ResourceImportManager.java:163)
at org.sophie2.main.func.resources.imports.ResourceImportUtil.insertResourceInFrame(ResourceImportUtil.java:268)
at org.sophie2.main.func.resources.logic.ResourceImportLogic$1.handle(ResourceImportLogic.java:131)
at org.sophie2.core.mvc.SimpleOperation.handle(SimpleOperation.java:65)
at org.sophie2.core.mvc.LogicR3.fire(LogicR3.java:59)
at org.sophie2.core.mvc.LogicR3.fire(LogicR3.java:104)
at org.sophie2.base.menus.MenuItem.clicked(MenuItem.java:103)
at org.sophie2.base.menus.MenuItem$1swingMenu$1.actionPerformed(MenuItem.java:47)
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 javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.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.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)


2010-04-14T16:08:26+0300


sophie2-author.log
[[INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.core.modularity.CoreModularityModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.core.mvc.CoreMvcModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.bound.BoundModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.commons.BaseCommonsModule, [INFO] org.sophie2.core.logging.SophieLog.addTarget(SophieLog.java:402): Added log target using logging file: C:\Users\Deyan\Desktop\Sophie2.05\logs\sophie2-author.log, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.model.resources.r4.BaseModelResourcesR4Module, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.config.BaseConfigModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.connectivity.BaseConnectivityModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.dialogs.BaseDialogsModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.dnd.BaseDndModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.visual.BaseVisualModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.halos.BaseHalosModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.layout.BaseLayoutModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.media.BaseMediaModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.model.book.BaseModelBookModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.model.security.BaseModelSecurityModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.persistence.BasePersistenceModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.model.text.BaseModelTextModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.scene.BaseSceneModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.skins.BaseSkinsModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.natlib.BaseNatlibModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.media.natlib.MainMediaNatlibModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.comment.CommentModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.annotations.AnnotationsModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.embedded.EmbeddedBooksModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.pdf.PdfModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.plain.PlainTextModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.print.PrintModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.html.HtmlModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.scripting.ScriptingModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.commons.MainAppModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.halos.MainAppHalosModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.layout.MainAppLayoutModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.menus.MainAppMenusModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.model.MainAppModelModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.dnd.MainDndModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.browser.BrowserModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.file.FileFunctionalityModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.help.HelpModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.links.LinksModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.text.TextFuncModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.media.MainFuncMediaModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.image.ImageModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.resources.MainFuncResourcesModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.templates.MainFuncTemplatesModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.config.MainFuncConfigModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.timelines.MainFuncTimelinesModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.servers.MainFuncServersModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.layout.mydoggy.LayoutMyDoggyModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.scene.jogl.MainSceneJoglModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.scene.simple.MainSceneSimpleModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.scene.sprites.MainSceneSpritesModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.skin.alternative.AlternativeSkinsModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.ws_connector.WSConnectorModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.author.AuthorModule, [WARN] org.sophie2.main.func.servers.view.ConnectionsPalette.initAccounts(ConnectionsPalette.java:610): Cannot find main window, [WARN] org.sophie2.main.func.servers.view.ConnectionsPalette.initAccounts(ConnectionsPalette.java:610): Cannot find main window, [WARN] org.sophie2.main.func.servers.view.ConnectionsPalette.initAccounts(ConnectionsPalette.java:610): Cannot find main window, [WARN] org.sophie2.main.func.servers.view.ConnectionsPalette.initAccounts(ConnectionsPalette.java:610): Cannot find main window, [WARN] org.sophie2.main.func.servers.view.ConnectionsPalette.initAccounts(ConnectionsPalette.java:610): Cannot find main window, [WARN] org.sophie2.main.func.servers.view.ConnectionsPalette.initAccounts(ConnectionsPalette.java:610): Cannot find main window, [WARN] org.sophie2.main.func.servers.view.ConnectionsPalette.initAccounts(ConnectionsPalette.java:610): Cannot find main window, [INFO] org.sophie2.base.visual.NullVisualProvider.create(NullVisualProvider.java:44): Creating instance of org.sophie2.base.menus.MenuItem, [INFO] org.sophie2.base.visual.NullVisualProvider.create(NullVisualProvider.java:44): Creating instance of org.sophie2.base.menus.MenuItem, [INFO] org.sophie2.base.visual.NullVisualProvider.create(NullVisualProvider.java:44): Creating instance of org.sophie2.base.menus.MenuItem, [INFO] org.sophie2.base.visual.NullVisualProvider.create(NullVisualProvider.java:44): Creating instance of org.sophie2.base.menus.MenuItem, [INFO] org.sophie2.base.visual.NullVisualProvider.create(NullVisualProvider.java:44): Creating instance of org.sophie2.base.menus.MenuItem, [INFO] org.sophie2.base.visual.NullVisualProvider.create(NullVisualProvider.java:44): Creating instance of org.sophie2.base.menus.MenuItem, [INFO] org.sophie2.main.func.resources.view.ResourceDetailsPalette.<init>(ResourceDetailsPalette.java:79): ResourceDetailsPalette created., [INFO] org.sophie2.main.layout.mydoggy.MDSkinUpdater.setUpIcons(MDSkinUpdater.java:243): No icon provided for ID = FLOATING, [INFO] org.sophie2.main.layout.mydoggy.MDSkinUpdater.setUpIcons(MDSkinUpdater.java:243): No icon provided for ID = FLOATING_INACTIVE, [INFO] org.sophie2.main.layout.mydoggy.MDSkinUpdater.setUpIcons(MDSkinUpdater.java:243): No icon provided for ID = FIX, [INFO] org.sophie2.main.layout.mydoggy.MDSkinUpdater.setUpIcons(MDSkinUpdater.java:243): No icon provided for ID = FIX_INACTIVE, [INFO] org.sophie2.main.layout.mydoggy.MDSkinUpdater.setUpIcons(MDSkinUpdater.java:243): No icon provided for ID = SLIDING, [INFO] org.sophie2.main.layout.mydoggy.MDSkinUpdater.setUpIcons(MDSkinUpdater.java:243): No icon provided for ID = SLIDING_INACTIVE, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [INFO] org.sophie2.main.func.servers.ServerConnection.connect(ServerConnection.java:113): Sucessfully connected to New Resource, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] executing open command (used to be-media_decoder.open())..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] opening input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] finding Streams of input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Video stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Audio stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] , [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Input #0, avi, from 'sophie:///a':, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Duration: 00:08:26.20, start: 0.000000, bitrate: 1042 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 1:1 DAR 22:15], 29.97 tbr, 29.97 tbn, 30k tbc, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] executing open command (used to be-media_decoder.open())..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] opening input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] finding Streams of input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Video stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Audio stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] , [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Input #0, avi, from 'sophie:///a':, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Duration: 00:08:26.20, start: 0.000000, bitrate: 1042 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 1:1 DAR 22:15], 29.97 tbr, 29.97 tbn, 30k tbc, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] executing open command (used to be-media_decoder.open())..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] opening input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] finding Streams of input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Video stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Audio stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] , [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Input #0, avi, from 'sophie:///a':, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Duration: 00:08:26.20, start: 0.000000, bitrate: 1042 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 1:1 DAR 22:15], 29.97 tbr, 29.97 tbn, 30k tbc, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] packetCnt=1 at: media_decoder.h:293, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] executing open command (used to be-media_decoder.open())..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] opening input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] finding Streams of input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Video stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Audio stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] , [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Input #0, avi, from 'sophie:///a':, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Duration: 00:08:26.20, start: 0.000000, bitrate: 1042 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 1:1 DAR 22:15], 29.97 tbr, 29.97 tbn, 30k tbc, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Starting media_decoder, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [ERROR] org.sophie2.main.func.help.bugreport.SophieExceptionHandler.uncaughtException(SophieExceptionHandler.java:15): String index out of range: -1, java.lang.StringIndexOutOfBoundsException: String index out of range: -1, at java.lang.String.substring(Unknown Source), at org.sophie2.base.model.book.resource.ResourceFilesUtil.getDir(ResourceFilesUtil.java:177), at org.sophie2.base.model.book.resource.ResourceFilesUtil.getFilesDir(ResourceFilesUtil.java:119), at org.sophie2.base.model.book.resource.ResourceFilesUtil.getFilesDir(ResourceFilesUtil.java:92), at org.sophie2.base.model.book.resource.ResourceFilesUtil.storeFile(ResourceFilesUtil.java:53), at org.sophie2.main.func.resources.imports.BinaryResourceImportManager.getBinData(BinaryResourceImportManager.java:113), at org.sophie2.main.func.media.MediaImportManager.getResourceData(MediaImportManager.java:37), at org.sophie2.main.func.media.MediaImportManager.getResourceData(MediaImportManager.java:26), at org.sophie2.main.func.resources.imports.ResourceImportManager.retrieveResourceInfo(ResourceImportManager.java:163), at org.sophie2.main.func.resources.imports.ResourceImportUtil.insertResourceInFrame(ResourceImportUtil.java:268), at org.sophie2.main.func.resources.logic.ResourceImportLogic$1.handle(ResourceImportLogic.java:131), at org.sophie2.core.mvc.SimpleOperation.handle(SimpleOperation.java:65), at org.sophie2.core.mvc.LogicR3.fire(LogicR3.java:59), at org.sophie2.core.mvc.LogicR3.fire(LogicR3.java:104), at org.sophie2.base.menus.MenuItem.clicked(MenuItem.java:103), at org.sophie2.base.menus.MenuItem$1swingMenu$1.actionPerformed(MenuItem.java:47), 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 javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source), at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source), at java.awt.AWTEventMulticaster.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.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), , [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] executing open command (used to be-media_decoder.open())..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] opening input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] finding Streams of input file..., [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Video stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Audio stream found!, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] , [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Input #0, avi, from 'sophie:///a':, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Duration: 00:08:26.20, start: 0.000000, bitrate: 1042 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.0: Video: mpeg4, yuv420p, 704x480 [PAR 1:1 DAR 22:15], 29.97 tbr, 29.97 tbn, 30k tbc, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] Stream #0.1: Audio: mp3, 48000 Hz, 2 channels, s16, 128 kb/s, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:390): [native-err] null, [INFO] org.sophie2.base.natlib.NativeBridge$ErrorDumper.run(NativeBridge.java:396): ErrorDumper exiting, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!, [WARN] org.sophie2.main.app.commons.app.DocumentsLogic$4.handle(DocumentsLogic.java:149): (R4) Reimplement page centering!]sophie2-server.log
[[INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.core.modularity.CoreModularityModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.core.mvc.CoreMvcModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.bound.BoundModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.commons.BaseCommonsModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.model.resources.r4.BaseModelResourcesR4Module, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.config.BaseConfigModule, [INFO] org.sophie2.core.logging.SophieLog.addTarget(SophieLog.java:402): Added log target using logging file: C:\Users\Deyan\Desktop\Sophie2.05\logs\sophie2-server.log, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.connectivity.BaseConnectivityModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.dialogs.BaseDialogsModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.dnd.BaseDndModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.visual.BaseVisualModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.halos.BaseHalosModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.layout.BaseLayoutModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.media.BaseMediaModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.model.book.BaseModelBookModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.model.security.BaseModelSecurityModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.persistence.BasePersistenceModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.model.text.BaseModelTextModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.scene.BaseSceneModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.skins.BaseSkinsModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.base.natlib.BaseNatlibModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.media.natlib.MainMediaNatlibModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.comment.CommentModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.annotations.AnnotationsModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.embedded.EmbeddedBooksModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.pdf.PdfModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.plain.PlainTextModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.print.PrintModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.html.HtmlModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.scripting.ScriptingModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.commons.MainAppModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.halos.MainAppHalosModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.layout.MainAppLayoutModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.menus.MainAppMenusModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.app.model.MainAppModelModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.dnd.MainDndModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.extra.func.browser.BrowserModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.file.FileFunctionalityModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.help.HelpModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.links.LinksModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.text.TextFuncModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.templates.MainFuncTemplatesModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.media.MainFuncMediaModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.image.ImageModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.resources.MainFuncResourcesModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.config.MainFuncConfigModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.timelines.MainFuncTimelinesModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.func.servers.MainFuncServersModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.main.ws_connector.WSConnectorModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.server.webapp.WebAppModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.server.core.ServerCoreModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.server.webui.WebUIModule, [INFO] org.sophie2.core.modularity.SophieModule.start(SophieModule.java:38): Starting org.sophie2.s2s.ServerModule]


java.runtime.name=Java(TM) SE Runtime Environment
java.protocol.handler.pkgs=
sun.boot.library.path=C:\Program Files (x86)\Java\jre6\bin
java.vm.version=14.2-b01
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
path.separator=;
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
sun.java.launcher=SUN_STANDARD
user.country=BG
sun.os.patch.level=Service Pack 2
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\Users\Deyan\Desktop\Sophie2.05
edition=author
java.runtime.version=1.6.0_16-b01
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=C:\Program Files (x86)\Java\jre6\lib\endorsed
os.arch=x86
java.io.tmpdir=C:\Users\Deyan\AppData\Local\Temp\
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
user.variant=
os.name=Windows Vista
sun.jnu.encoding=Cp1251
mightyClassLoader=org.apache.felix.framework.FelixMigthyClassLoader@28318d
java.library.path=C:\Program Files (x86)\Java\jre6\launch4j-tmp;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Java\jre1.6.0_07\bin\java;C:\Program Files (x86)\apache-maven-2.2.1\bin;C:\Program Files (x86)\Java\jdk1.6.0_16\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Python26;C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files (x86)\Microsoft Visual Studio\Common\Tools;C:\Program Files (x86)\Microsoft Visual Studio\VC98\bin;C:\Program Files (x86)\OpenVPN\bin;C:\Program Files (x86)\Java\jre6\bin
java.specification.name=Java Platform API Specification
java.class.version=50.0
sun.management.compiler=HotSpot Client Compiler
os.version=6.0
user.home=C:\Users\Deyan
user.timezone=Europe/Helsinki
java.awt.printerjob=sun.awt.windows.WPrinterJob
bundlesConfigFile=file:C:/Users/Deyan/Desktop/Sophie2.05/author-run/author.bundles.config
file.encoding=Cp1251
java.specification.version=1.6
java.class.path=C:\Users\Deyan\Desktop\Sophie2.05\org.sophie2.launcher-2.0.1.jar
user.name=Deyan
sophie-version=Sophie 2.0.5
java.vm.specification.version=1.0
java.home=C:\Program Files (x86)\Java\jre6
sun.arch.data.model=32
user.language=bg
java.specification.vendor=Sun Microsystems Inc.
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode, sharing
java.version=1.6.0_16
java.ext.dirs=C:\Program Files (x86)\Java\jre6\lib\ext;C:\Windows\Sun\Java\lib\ext
sun.boot.class.path=C:\Program Files (x86)\Java\jre6\lib\resources.jar;C:\Program Files (x86)\Java\jre6\lib\rt.jar;C:\Program Files (x86)\Java\jre6\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jre6\lib\jsse.jar;C:\Program Files (x86)\Java\jre6\lib\jce.jar;C:\Program Files (x86)\Java\jre6\lib\charsets.jar;C:\Program Files (x86)\Java\jre6\classes
java.vendor=Sun Microsystems Inc.
file.separator=\
sophie2.loaded=true
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
sun.io.unicode.encoding=UnicodeLittle
sun.cpu.endian=little
sophie-build-id=2010-04-06-8969
sun.desktop=windows
sun.cpu.isalist=


comment:2 Changed 10 years ago by meddle

  • Design_owners set to meddle
  • Status changed from new to s1b_analysis_finished
  • Imp._owners set to meddle
  • Analysis_reviewers set to meddle
  • Analysis_score changed from 0 to 3.5
  • Design_score changed from 0 to 1

The analysis is fine by me.

comment:3 Changed 10 years ago by meddle

  • Status changed from s1b_analysis_finished to s2a_design_started

comment:4 Changed 10 years ago by meddle

  • Status changed from s2a_design_started to s2b_design_finished

The problem is that we try to find the last index of "/" when retrieving the parent folder, but under windows the file separator is "\".

  • I fixed it replacing all the win-style separators with unix styled ones, now a book created under windows can be opened from the linux Sophie.

comment:5 Changed 10 years ago by meddle

  • Status changed from s2b_design_finished to s2c_design_ok

comment:6 Changed 10 years ago by meddle

  • Owner set to meddle
  • Status changed from s2c_design_ok to s3a_implementation_started

comment:7 Changed 10 years ago by meddle

  • Status changed from s3a_implementation_started to s3b_implementation_finished

The fix for this ticket is in #2427.

comment:8 Changed 10 years ago by meddle

  • Design_score changed from 1 to 0

comment:9 Changed 10 years ago by meddle

  • Cc meddle added

comment:10 Changed 10 years ago by pap

  • Status changed from s3b_implementation_finished to s3c_implementation_ok
  • Design_score changed from 0 to 4
  • Design_reviewers set to pap
  • Imp._score changed from 0 to 4
  • Imp._reviewers set to deyan, todor, pap

comment:11 Changed 9 years ago by meddle

  • Status changed from s3c_implementation_ok to closed
  • Resolution set to obsolete

Closing all the tickets before M Y1

Note: See TracTickets for help on using tickets.