This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 76428

Summary: dvipdf exception not supported
Product: contrib Reporter: pzajac <pzajac>
Component: LatexAssignee: issues@contrib <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description pzajac 2006-05-16 12:29:04 UTC
The dvipdf tool is not configured. The variant for dvipdf is market by red color
in combobox of project propertis. It's correct. The endless exception is thrown
  when the variant is selected. It should be better to show annotated warning
and select previously selected variant.  

java.lang.IllegalArgumentException: tool= dvipdf not supported
	at
org.netbeans.modules.latex.ui.platform.LaTeXPlatformImpl.getTargetFiles(LaTeXPlatformImpl.java:127)
	at
org.netbeans.modules.latex.guiproject.build.ShowConfiguration.getResults(ShowConfiguration.java:163)
	at
org.netbeans.modules.latex.guiproject.build.ShowConfiguration.getURIToShow(ShowConfiguration.java:171)
	at
org.netbeans.modules.latex.guiproject.build.ShowConfiguration.isSupported(ShowConfiguration.java:183)
	at
org.netbeans.modules.latex.guiproject.ui.BuildPanel$ShowConfigurationListCellRendererImpl.getListCellRendererComponent(BuildPanel.java:265)
	at
javax.swing.plaf.basic.BasicComboBoxUI.paintCurrentValue(BasicComboBoxUI.java:1059)
	at
javax.swing.plaf.metal.MetalComboBoxUI.paintCurrentValue(MetalComboBoxUI.java:66)
	at javax.swing.plaf.basic.BasicComboBoxUI.paint(BasicComboBoxUI.java:850)
	at javax.swing.plaf.metal.MetalComboBoxUI.paint(MetalComboBoxUI.java:45)
	at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
	at javax.swing.JComponent.paintComponent(JComponent.java:742)
	at javax.swing.JComponent.paint(JComponent.java:1005)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paint(JComponent.java:1014)
	at javax.swing.JLayeredPane.paint(JLayeredPane.java:559)
	at javax.swing.JComponent.paintChildren(JComponent.java:842)
	at javax.swing.JComponent.paintWithOffscreenBuffer(JComponent.java:4970)
	at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4916)
	at javax.swing.JComponent.paint(JComponent.java:995)
	at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback
Comment 1 Jan Lahoda 2006-05-16 19:17:30 UTC
Fixed the IllegalArgumentException. Further changes are pending.
Checking in ShowConfiguration.java;
/cvs/latex/guiproject/src/org/netbeans/modules/latex/guiproject/build/ShowConfiguration.java,v
 <--  ShowConfiguration.java
new revision: 1.3; previous revision: 1.2
done
Comment 2 Jiri Prox 2007-09-17 20:48:11 UTC
Obsolete milestone, please reevaluate