You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Emilian Bold (JIRA)" <ji...@apache.org> on 2018/07/04 12:11:00 UTC

[jira] [Comment Edited] (NETBEANS-876) Update release 9.0 branding

    [ https://issues.apache.org/jira/browse/NETBEANS-876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532666#comment-16532666 ] 

Emilian Bold edited comment on NETBEANS-876 at 7/4/18 12:10 PM:
----------------------------------------------------------------

I'm getting this harmless exception in the log because our about image is not a PNG but GIF:

{quote}
INFO [org.openide.util.ImageUtilities]: Image org/netbeans/core/startup/about_nb.png is not PNG
javax.imageio.IIOException: Bad PNG signature!
	at com.sun.imageio.plugins.png.PNGImageReader.readHeader(PNGImageReader.java:242)
Caused: javax.imageio.IIOException: I/O error reading PNG header!
	at com.sun.imageio.plugins.png.PNGImageReader.readHeader(PNGImageReader.java:315)
	at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:654)
	at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1248)
	at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1606)
[catch] at org.openide.util.ImageUtilities.getIcon(ImageUtilities.java:545)
	at org.openide.util.ImageUtilities.getIcon(ImageUtilities.java:458)
	at org.openide.util.ImageUtilities.loadImage(ImageUtilities.java:148)
	at org.netbeans.core.startup.Splash.loadContent(Splash.java:210)
	at org.netbeans.core.ui.ProductInformationPanel.<init>(ProductInformationPanel.java:123)
	at org.netbeans.core.actions.AboutAction.performAction(AboutAction.java:48)
	at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105)
	at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
	at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
	at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
	at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102)
	at org.netbeans.modules.applemenu.NbApplicationAdapter.performAction(NbApplicationAdapter.java:149)
	at org.netbeans.modules.applemenu.NbApplicationAdapter.handleAbout(NbApplicationAdapter.java:103)
	at org.netbeans.modules.applemenu.NbApplicationAdapterJDK8.handleAbout(NbApplicationAdapterJDK8.java:66)
	at com.apple.eawt._AppEventHandler$_AboutDispatcher.performUsing(_AppEventHandler.java:250)
{quote}

Checking:

{quote}
$ file ./ide.branding/core.startup/src/org/netbeans/core/startup/about_nb.png
./ide.branding/core.startup/src/org/netbeans/core/startup/about_nb.png: GIF image data, version 89a, 529 x 252
{quote}


was (Author: emi):
I'm getting this harmless exception in the log because our about image is not a PNG but GIF:

{{{
INFO [org.openide.util.ImageUtilities]: Image org/netbeans/core/startup/about_nb.png is not PNG
javax.imageio.IIOException: Bad PNG signature!
	at com.sun.imageio.plugins.png.PNGImageReader.readHeader(PNGImageReader.java:242)
Caused: javax.imageio.IIOException: I/O error reading PNG header!
	at com.sun.imageio.plugins.png.PNGImageReader.readHeader(PNGImageReader.java:315)
	at com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:654)
	at com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1248)
	at com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1606)
[catch] at org.openide.util.ImageUtilities.getIcon(ImageUtilities.java:545)
	at org.openide.util.ImageUtilities.getIcon(ImageUtilities.java:458)
	at org.openide.util.ImageUtilities.loadImage(ImageUtilities.java:148)
	at org.netbeans.core.startup.Splash.loadContent(Splash.java:210)
	at org.netbeans.core.ui.ProductInformationPanel.<init>(ProductInformationPanel.java:123)
	at org.netbeans.core.actions.AboutAction.performAction(AboutAction.java:48)
	at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:105)
	at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
	at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
	at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
	at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:102)
	at org.netbeans.modules.applemenu.NbApplicationAdapter.performAction(NbApplicationAdapter.java:149)
	at org.netbeans.modules.applemenu.NbApplicationAdapter.handleAbout(NbApplicationAdapter.java:103)
	at org.netbeans.modules.applemenu.NbApplicationAdapterJDK8.handleAbout(NbApplicationAdapterJDK8.java:66)
	at com.apple.eawt._AppEventHandler$_AboutDispatcher.performUsing(_AppEventHandler.java:250)
}}}


{{{
$ file ./ide.branding/core.startup/src/org/netbeans/core/startup/about_nb.png
./ide.branding/core.startup/src/org/netbeans/core/startup/about_nb.png: GIF image data, version 89a, 529 x 252
}}}


> Update release 9.0 branding
> ---------------------------
>
>                 Key: NETBEANS-876
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-876
>             Project: NetBeans
>          Issue Type: Bug
>          Components: ide - UI
>    Affects Versions: 9.0
>            Reporter: Jiří Kovalský
>            Assignee: Geertjan Wielenga
>            Priority: Blocker
>              Labels: pull-request-available
>         Attachments: logo.zip, splashscreen.zip
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> In order to build Apache NetBeans IDE 9.0 release candidate we need to update:
>  # name to *Apache NetBeans IDE 9.0*
>  # URLs to update centers from _{color:#f79232}updates.netbeans.org{color}_ to {color:#f79232}_netbeans.apache.org_{color}
>  # splash screen
>  # user and cache directories to _{color:#f79232}.netbeans/9.0{color}_ and _{color:#f79232}.cache/netbeans/9.0{color}_
>  # Remove assertions {{-J-ea}} from the {{netbeans.conf}}
> # Start Page (welcome/ module)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists