jpsa
|
Posted: February 10, 2012 21:40 by jpsa
|
I've downloaded Audiveris 3155:585498b1df0f, loaded a PDF file I obtained from IMSLP (this example is actually a single page -- page 5 -- from that file). I then gave the Step>SCORE command. The message window says...NFO - Loading D:\temp\Bruch\IMSLP49286-PMLP10695-Bruch_-_Violin_Concerto_No.1_Op.26__solo_violin_part_.5.pdf ...
INFO - IMSLP49286-PMLP10695-Bruch_-_Violin_Concerto_No.1_Op.26__solo_violin_part_.5.pdf loaded image #1 (2304 x 2842)
INFO - IMSLP49286-PMLP10695-Bruch_-_Violin_Concerto_No.1_Op.26__solo_violin_part_.5 scheduling [SCALE, GRID, SPLIT, MEASURES, STICKS, SYMBOLS, PAGES, SCORE]
INFO - {Scale line:(2,4,6) interline:(15,19,23) beam:12}
INFO - Global slope: -0.0038360036
INFO - Retrieved line clusters: 11 of size: 5 with interline: 19
INFO - Removed section#1513 from HORIZONTAL F7
INFO - Removed section#1487 from HORIZONTAL F7
INFO - Removed section#1511 from HORIZONTAL F7
INFO - Removed section#1510 from HORIZONTAL F7
INFO - Removed section#1548 from HORIZONTAL F489
INFO - Removed section#1550 from HORIZONTAL F489
INFO - Removed section#1551 from HORIZONTAL F489
INFO - Removed section#2035 from HORIZONTAL F490
INFO - Removed section#2033 from HORIZONTAL F490
WARNING - BarsRetriever cannot retrieveSystems [java.lang.NullPointerException]
INFO - Parts top staff ids: [1, 2, 3, 4, 5, null, 7, 8, 9, 10, 11]
INFO - no part found, no system found
INFO - 0 raw measure: []
WARNING - Error in performing [SCALE, GRID, SPLIT, MEASURES, STICKS, SYMBOLS, PAGES, SCORE] [java.lang.NullPointerException]
and I don't get a score. Have I just misunderstood the way this is supposed to work? Apologies if this is a stupid newbie question! |
Am I doing something stupid?
Replies: 2 - Last Post: March 01, 2012 19:14
by: jpsa
by: jpsa
showing 1 - 3 of 3
Hervé Bitteur
|
Posted: February 13, 2012 07:13 by Hervé Bitteur
|
|
Hi jpsa, I can't detect anything stupid in your message ![]() Reading the log lines, there seems to be a problem with staff #6 of the input sheet. Could you provide a link to the precise sheet on IMSLP site, so that I can further investigate this case. General advice: To display more information (in case an exception occurs), use the Score | Set Parameters... menu item and there select the checkbox "Print call-stack". This setting is persistent across application runs. Without this, you just get the [java.lang.NullPointerException] message and nothing more. Bye /Hervé |
jpsa
|
Posted: March 01, 2012 19:14 by jpsa
|
|
I'm sorry it's taken me so long to get back to you on this. The download link is http://imslp.org/wiki/Special:ImagefromIndex/49286 from which I extracted just the 5th page using an online PDF splitter (I don't recall which one). Other pages from this file also provoke the behaviour, though. If you'd like me to send you the single page PDF file (87 KB), let me know. I've tried it again with revision 3162:651487eb7cf7, with no improvement. The log )with call stacks) now reads...
omr.score.midi.MidiAgent.<init>(MidiAgent.java:157) -- WARNING: Error creating OmrFrameController [java.lang.NullPointerException]
java.lang.NullPointerException
at com.xenoage.zong.io.midi.out.MidiScorePlayer.setVolume(MidiScorePlayer.java:262)
at com.xenoage.zong.io.midi.out.MidiScorePlayer.<init>(MidiScorePlayer.java:51)
at com.xenoage.zong.player.gui.Controller.<init>(Controller.java:44)
at com.xenoage.zong.player.gui.BasicFrameController.<init>(BasicFrameController.java:43)
at omr.score.midi.OmrFrameController.<init>(OmrFrameController.java:50)
at omr.score.midi.MidiAgent.<init>(MidiAgent.java:154)
at omr.score.midi.MidiAgentFactory$1.call(MidiAgentFactory.java:107)
at omr.score.midi.MidiAgentFactory$1.call(MidiAgentFactory.java:102)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
omr.sheet.picture.PictureLoader.loadImages(PictureLoader.java:102) -- INFO: Loading d:\temp\bruch\IMSLP49286-PMLP10695-Bruch_-_Violin_Concerto_No.1_Op.26__solo_violin_part_.5.pdf ...
omr.sheet.picture.PictureLoader.loadPDF(PictureLoader.java:319) -- INFO: IMSLP49286-PMLP10695-Bruch_-_Violin_Concerto_No.1_Op.26__solo_violin_part_.5.pdf loaded image #1 (2304 x 2842)
omr.step.Stepping.scheduleScoreStepSet(Stepping.java:587) -- INFO: IMSLP49286-PMLP10695-Bruch_-_Violin_Concerto_No.1_Op.26__solo_violin_part_.5 scheduling [SCALE, GRID, SPLIT, MEASURES, STICKS, SYMBOLS, PAGES, SCORE]
omr.sheet.ScaleBuilder.retrieveScale(ScaleBuilder.java:191) -- INFO: {Scale line:(2,4,6) interline:(15,19,23) beam:12}
omr.grid.LinesRetriever.retrieveLines(LinesRetriever.java:412) -- INFO: Global slope: -0.0038360036
omr.grid.ClustersRetriever.buildInfo(ClustersRetriever.java:247) -- INFO: Retrieved line clusters: 11 of size: 5 with interline: 19
omr.grid.FilamentAlignment.polishCurvature(FilamentAlignment.java:343) -- INFO: Removed section#1513 from HORIZONTAL F7
omr.grid.FilamentAlignment.polishCurvature(FilamentAlignment.java:343) -- INFO: Removed section#1487 from HORIZONTAL F7
omr.grid.FilamentAlignment.polishCurvature(FilamentAlignment.java:343) -- INFO: Removed section#1511 from HORIZONTAL F7
omr.grid.FilamentAlignment.polishCurvature(FilamentAlignment.java:343) -- INFO: Removed section#1510 from HORIZONTAL F7
omr.grid.FilamentAlignment.polishCurvature(FilamentAlignment.java:343) -- INFO: Removed section#1548 from HORIZONTAL F489
omr.grid.FilamentAlignment.polishCurvature(FilamentAlignment.java:343) -- INFO: Removed section#1550 from HORIZONTAL F489
omr.grid.FilamentAlignment.polishCurvature(FilamentAlignment.java:343) -- INFO: Removed section#1551 from HORIZONTAL F489
omr.grid.FilamentAlignment.polishCurvature(FilamentAlignment.java:343) -- INFO: Removed section#2035 from HORIZONTAL F490
omr.grid.FilamentAlignment.polishCurvature(FilamentAlignment.java:343) -- INFO: Removed section#2033 from HORIZONTAL F490
omr.grid.BarsRetriever.retrieveSystemBars(BarsRetriever.java:317) -- WARNING: BarsRetriever cannot retrieveSystems [java.lang.NullPointerException]
java.lang.NullPointerException
at omr.grid.BarsRetriever.retrieveSystemTops(BarsRetriever.java:1518)
at omr.grid.BarsRetriever.buildSystems(BarsRetriever.java:615)
at omr.grid.BarsRetriever.retrieveSystemBars(BarsRetriever.java:315)
at omr.grid.GridBuilder.buildInfo(GridBuilder.java:123)
at omr.step.GridStep.doit(GridStep.java:60)
at omr.step.AbstractStep.doStep(AbstractStep.java:190)
at omr.step.Stepping.doOneSheetStep(Stepping.java:148)
at omr.step.Stepping.doSheetStepSet(Stepping.java:511)
at omr.step.Stepping.doScoreStepSet(Stepping.java:488)
at omr.step.Stepping.scheduleScoreStepSet(Stepping.java:622)
at omr.step.Stepping.processScore(Stepping.java:289)
at omr.script.StepTask.core(StepTask.java:73)
at omr.script.ScriptTask.run(ScriptTask.java:139)
at omr.step.StepMenu$StepAction$1.doInBackground(StepMenu.java:141)
at omr.step.StepMenu$StepAction$1.doInBackground(StepMenu.java:131)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
omr.grid.BarsRetriever.retrieveMeasureBars(BarsRetriever.java:264) -- INFO: Parts top staff ids: [1, 2, 3, 4, 5, null, 7, 8, 9, 10, 11]
omr.sheet.SystemsBuilder.reportResults(SystemsBuilder.java:367) -- INFO: no part found, no system found
omr.score.entity.Page.dumpMeasureCounts(Page.java:419) -- INFO: 0 raw measure: []
omr.step.Stepping.processScore(Stepping.java:299) -- WARNING: Error in performing [SCALE, GRID, SPLIT, MEASURES, STICKS, SYMBOLS, PAGES, SCORE] [java.lang.NullPointerException]
java.lang.NullPointerException
at omr.score.PartConnection.connectScorePages(PartConnection.java:197)
at omr.score.ScoreReduction.reduce(ScoreReduction.java:111)
at omr.step.ScoreStep.doit(ScoreStep.java:114)
at omr.step.AbstractStep.doStep(AbstractStep.java:190)
at omr.step.ScoreStep.doStep(ScoreStep.java:86)
at omr.step.Stepping.doOneScoreStep(Stepping.java:413)
at omr.step.Stepping.scheduleScoreStepSet(Stepping.java:631)
at omr.step.Stepping.processScore(Stepping.java:289)
at omr.script.StepTask.core(StepTask.java:73)
at omr.script.ScriptTask.run(ScriptTask.java:139)
at omr.step.StepMenu$StepAction$1.doInBackground(StepMenu.java:141)
at omr.step.StepMenu$StepAction$1.doInBackground(StepMenu.java:131)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at java.util.Collections$UnmodifiableList.get(Unknown Source)
at omr.step.SticksStep.displayUI(SticksStep.java:69)
at omr.step.Stepping$1.run(Stepping.java:187)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.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)
I'm fairly certain that the exception right at the top ("WARNING: Error creating OmrFrameController") is new, perhaps because I've changed my computer's sound card since I last tried this. It doesn't stop the programme starting, though. |
Replies: 2 - Last Post: March 01, 2012 19:14
by: jpsa
by: jpsa








