Error getting property from beanjava.lang.NullPointerException

341 byte By rtaylor185a at 2007-11-27 9:47:53
I have a servlet, I can see it and can bind to it. However when I run I get the error javax.faces.el.EvaluationException: Error getting property 'objectEmbedTag' from bean of type idface.id4start: java.lang.NullPointerExceptionI have been trying several weeks to get this to work, any help ...

Problem with return cardinality of my Entity-Bean

4307 byte By mrXa at 2007-11-27 9:49:20
Hi all,i'm using Sun Java Studio Enterprise 8.1 and i try to create a EJB CMP Entity-Bean, it's name is Customer. But i become an error during the deploy. By the method findByName(String name) i selected as return cardinality "Many" and become below error. If i select "One" as return ...

Unnamed structures inside a union and Sun Studio 11

1322 byte By Art_Vandelaya at 2007-11-27 9:50:16
I am curious why the following code snippet:#include <stdio.h>#include <inttypes.h>typedef union foobar{struct{unsigned longuhigh;unsigned longulow;};struct{long shigh;long slow;};int64_t asint64;uint64_t asuint64;} FooBar_t;int main(void){return 0;}generates errors when compiled ...

setup problems

185 byte By Tihiya at 2007-11-27 9:50:19
I tried to install sun studio (tarfile), but when i type sunstudio in command line it says that java isnt installed, and prep_system says it is (and its true). what have i to do?

Pls crying loud 2 all Java Guru

79 byte By JohnnyFlipa at 2007-11-27 9:54:54
How can I change component state saving from client side to server side?

Drop Down List

872 byte By Khosroa at 2007-11-27 9:57:39
Hi,I want to use Drop Down List.In Drop Down list i want to retrieve the value of Drop Down List.For example i create Drop Down List as follow:Iterator<Category> it=allCategory.iterator();int i=0;while(it.hasNext()){ Category cat1= it.next();listoption=new ...

Drop Down List

872 byte By Khosroa at 2007-11-27 9:57:40
Hi,I want to use Drop Down List.In Drop Down list i want to retrieve the value of Drop Down List.For example i create Drop Down List as follow:Iterator<Category> it=allCategory.iterator();int i=0;while(it.hasNext()){ Category cat1= it.next();listoption=new ...

spurious memory access error using localtime(), SunStudio 12, Solaris 10 x8

1201 byte By jslotta at 2007-11-27 9:58:09
The following code:#include <stdio.h>#include <sys/types.h>#include <time.h>intmain(){ time_t t = time(NULL); struct tm *ptm = localtime(&t); printf("hours = %d\n", ptm->tm_hour);}produces the following error:(dbx) check -accessaccess checking - ON(dbx) runRunning: ...

How to static compile program?

451 byte By teawater@vip.sina.coma at 2007-11-27 9:59:21
I have written a simply code,but I can't compile it staticly.My development tools is sun studio 11.cc -g -xCC -c-o Sun-x86-Solaris/shellcode.o shellcode.ccc -g -xCC-o Sun-x86-Solaris/a.out Sun-x86-Solaris/shellcode.o -Bstaticld: fatal: library -lc: not foundld: fatal: File processing errors. ...

Is JSE 8.1really good for J2EE?

214 byte By mrXa at 2007-11-27 10:00:37
Hi all,i want to ask you, supports JSE 8.1 every feature from J2EE. Can I quality develop every J2EE-application? .Is JSE 8.1 so good like IBM Racional Rose or better?ThanksBest Regards.

Conflict with non-standard intrinsic REALLOC

831 byte By N.Carlsona at 2007-11-27 10:00:59
I'm taking a stab at building a large code with the Sun Studio Fortran 8.3 compiler (first time using a sun compiler in >10 years!) and have run up against a conflict between a generic subroutine named REALLOC in the code and a non-standard intrinsic with the same name that is provided by ...

Sun STudio 12 install failed on SPROfdxd on x86

2219 byte By ben32a at 2007-11-27 10:01:03
Hi everybody,I get a similar problem than http://forum.java.sun.com/thread.jspa?threadID=5188423&tstart=0except that i cannot get it install doing a -nodiplay install.I'm running Solaris 10 with all the patches required for the installation.I've installed netbeans 5.5.1 and the JDK ...

[UML] State diagram problems

578 byte By steelthrashera at 2007-11-27 10:02:05
Hi,I have a serious problem with the state diagrams of my UML project. At a certain point (after simple closing and reopening Studio Enterprise) I lost all the transitions from all of the state diagrams in the project.As a matter of fact, the .etld files seem to contain the <edge> ...

where can I find the right doc for SunStudio For Linux ?

3155 byte By luoyi82a at 2007-11-27 10:03:01
I can find the docs for SunStudio here, http://docs.sun.com/app/docs/doc/819-5265/6n7c29ck9?a=viewbut it seems that it doesn't right on linux platform. #include <stdio.h>int main(void){#if defined(sun)printf("sun defined \n");#elseprintf("sun undefined \n");#endif#if ...

How to Enable "Select All" and "Deselect All" Control of Table Component?

328 byte By joshmachinea at 2007-11-27 10:04:29
Dear All,I am using JSC2 Update 1.I tried enabling "Select All" and "Deselect All" control from table layout option.It is showing buttons on the header panel but it is not workingAnyone tried enabling that controls.Please reply.Thanks in ...

Getting Started

297 byte By yinkaa at 2007-11-27 10:05:30
My name is Israel Awolope i just got hold of the java technology some few weeks back and really i want to get started as quickly as possible .I want help as it relates to Java Studio Creator............Getting Started with Java Studio Creator and pls i have no knowledge of JAVA

D-Light does not appear to be available

421 byte By mgroffa at 2007-11-27 10:06:46
I downloaded and installed the June 2007 build of SunStudio 12 Express and cannot find anything related to D-Light. My understanding is that it should be under the tools drop down.Here is the version string for SunStudio:Build 200704122300, SunStudio 20070501Did I somehow obtain the wrong ...

How to format a numeric output of a column field.

581 byte By jsfNewbiea at 2007-11-27 10:07:46
Greetings All,I am having problem to find out the simple way to format a numeric output of a column field. Here is the situation:On my JSF development using using netbeans visual webpack I made a table with one of its column is Double data type. I wanted to format the output of that column to ...

sun studio install problem

152 byte By bro1424a at 2007-11-27 10:10:05
..getting message, "Cannot update Application Server Settings," and then it prompts me to restart installer and try again.Any suggestions?

get column's header and put into a dropdown.

225 byte By NewLitusa at 2007-11-27 10:12:06
<p>Hi all,</p><p>I'd like to get programatically the shown text to the user in a simple tabe that it's bind to a database and put the columnnames to a dropdown.</p><p>any ideas? </p><p>thank's in advance!</p><p>regards</p>

Progect creation error

286 byte By zx_mastera at 2007-11-27 10:12:50
<p>I've worked with Studio Enterprise 8 on my home PC with no problems, but when I'll install it on my notebook, I find that I cannot create standard projects at all. For example in standard projects folder I can see only "Java Project with Existing Ant Script" and that is all :(</p>

How to create a set up program for my Java application

77 byte By Ankza at 2007-11-27 10:13:26
<p>Can some one please tell how to create a Setup for my Java Application</p>

Like a showing one field "BLOB" of the MySQL, in the component table ?

196 byte By jg1234a at 2007-11-27 10:13:46
<p>I am use NetBeans Visual Web</p><p>in the table show in the local field "BLOB"</p><p>ex: @234327#@@%$$#@</p><p>and I type: Paul</p><p>Like solving?</p><p>Tanks, I type from Brazil and you ?</p>

I am use NetBeans Visual Web

154 byte By jg1234a at 2007-11-27 10:13:47
<p>I am use NetBeans Visual Web</p><p>in the table show in the local field "BLOB"</p><p>ex: @234327#@@%$$#@</p><p>and I type: Paul</p><p>Like solving?</p>

Like a showing one field "BLOB" of the MySQL, in the component table ?

154 byte By jg1234a at 2007-11-27 10:13:49
<p>I am use NetBeans Visual Web</p><p>in the table show in the local field "BLOB"</p><p>ex: @234327#@@%$$#@</p><p>and I type: Paul</p><p>Like solving?</p>

CC (v5.4) linking issue with standard STL

1659 byte By solaris_bitea at 2007-11-27 10:14:01
Hi Friends,We are using CC (v5.4) compiler for our C++ code, which use STL , string, iostream related utility.Compiler version: CC: Forte Developer 7 C++ 5.4 2002/03/09We are linking using these options "-lsocket -lnsl -lCstd -lCrun -lm -lc -lposix4 -mt -lpthread"But we are getting following ...

-xarch default

278 byte By richard.buckwaltera at 2007-11-27 10:14:42
<p>When I compile with "-###" in Studio 10 on an UltraSparc machine it says the default for -xarch is "generic". The man page on the other hand says the default is, "v8plus". Is this a mistake in the man page or am I missing something? Any help would be greatly appreciated.</p>

Buiding R statsitical package using SunStudio 12 : linking problem

2728 byte By leonardz77a at 2007-11-27 10:15:11
On an athlon64 running SUSE 10.2 and an opteron running SLES 9 I can build R version 2.5.1 ( http://www.r-project.org/) with no problem using gcc. The configure works fine, but make stops at a linking error using SS12 compilers.Error:/export/isos/Sun_Studio/sunstudio12/bin/cc -V -m64 -shared -fPIC-V ...

building postgres issue on SUnStudio 12

1092 byte By leonardz77a at 2007-11-27 10:15:14
Using SunStudio 12 on SLES9 on an opteron platform:I run into a problem using spinlocks -see below. gsql-bugs responded : use gcc (see below). It does build fine under gcc, and will build under SS12 if I disable spinlocks as suggested. Is this an issue that the SunStudo development team can ...

Calendar Component and validation errors

629 byte By TheCarribeanKida at 2007-11-27 10:16:47
Hi,For the first time I am trying to use the Calendar component to insert a date field in my SQL Server db.The problem: I can insert a date column only if its of type java.sql.Timestamp.As Timestamp extends the date object..I tried to bind the selectedDate field as <Timestamp> Object[refractored ...

cannot execute functions from dbx

324 byte By slashgmga at 2007-11-27 10:16:57
I tried calling these functions from dbx but nothing seems to work.print strlen("hello");dbx: can't find a system call entry point -- program not linked with libc?loadobject shows that libc.so is mapped.(dbx) loadobject -list | grep libcm/lib/libc.so.1any particular ...

Studio12: status of bug 6470247?

446 byte By stupplema at 2007-11-27 10:16:58
I'm seeing a similar error to that reported for bug 6533415 here: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6533415This bug is marked as a duplicate of 6470247, but that bug isn't accessible on the public bugs.sun.com site. Is it possible for this bug to be made visible? If not can ...

How can I enable for-each loop in Creator update 1?

279 byte By zhangrja at 2007-11-27 10:17:54
<p>I try to use for-each loop, but I got error message from compiler is </p><p>" for-each loops are not supported in -source 1.4. (try -source 1.5 to enable for-each loops)"</p><p>How can I switch my source to 1.5.. I am using jdk 1.5. Confusing.</p><p>Thanks .</p><p>Richard</p>

after installation of compiler am getting these errors

1003 byte By GE_KK_HYDa at 2007-11-27 10:19:52
ssg1cm01:# /opt/SUNWspro/bin/CC test.CLicense Error : Licensing product (Sun WorkShop Compiler C++ SPARC).License File: 7588@ssg1cm01License server does not support this featureFeature:workshop.cc.sparcServer nameFLEXlm error:-18,147.ssg1cm01:# cd /tmpssg1cm01:# cat >test.fPROGRAM TESTWRITE(*,*) ...

VWP: Session lost after navigating 20 pages in IE6 & IE7

588 byte By waynehua at 2007-11-27 10:20:45
In the known issues of VWP 5.5.1 release notes, it mentions "In projects with more than 20 pages, session data is lost and information saved in a session bean attribute is reset to Null once user navigates past about page 20. This is not an issue in Firefox or other browsers."Our project have many ...

Netbeans 6.0 U10, BPEL Mapper doesn't expand imported element in schema

948 byte By VegetarianDesignsa at 2007-11-27 10:23:53
BackgroundWe have wsdl (say abc.wsdl) , with an imported schema (say <s:import schemaLocation="myimportedschema.xsd" .../>). The imported schema contains a type (say FooSoapIn). When I look in the BPEL navigator, FooSoapIn looks great! It has two complex types under the parameters. For ...

Sun Studio Version 11 Compiler Patches/Rogue Wave Question

605 byte By Kerrangstera at 2007-11-27 10:24:26
I get the following errors:"/sccm/software/sstud11/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 316: Error: A typedef name cannot be used in an elaborated type specifier.."/sccm/software/sstud11/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 317: Error: A typedef name cannot be used in an ...

How to update to 8.1

343 byte By farmboya at 2007-11-27 10:25:02
Running windows XPRunning SJSE8 (build 051011_02)The Tools > Update Center says there are no updates available yet the Sun site has 8.1 available for download?can I download sjse8.1 and simply install over sjse8 ? installing over sjse8 with sjse8.1 will not delete my existing projects, ...

Managing several project configurations

784 byte By coelurusa at 2007-11-27 10:25:08
Hi!Being a newbie with Sun Studio, but not exactly with programming, I have a question regarding project configurations.Currently, I have a group of projects configured as dynamic libraries, the number may grow up to between 10 and 20. I want to be able to switch to static libraries, or even have ...

Writing to /proc/*/ctl

363 byte By CHATEAUDYQUEMa at 2007-11-27 10:27:03
I am having problems trying to write into a /proc/<pid>/ctl file. I start process A and process B. I try to write into process B's ctl file from process A. I get "Permission denied" error. When I look at file permissions, the file has write-only permissions and it is owned by me. I open the ...

Using stlport4

390 byte By ScAra at 2007-11-27 10:28:33
Hi all,because I use boost libraries I compile and link my stuff completly with stlport4. What I have to do, if I deploy my software? Can I assume that all what needed is on the target machines or do I have to pack some stlport4 stuff in my installation package.All programs are build with sunstudio ...

gcc & glibc & ABI compatibility - latest update

772 byte By petrosysa at 2007-11-27 10:28:59
Hi,I am contemplating building the rhel5 version of our application using the SunStudio 12 compiler. We have a very large C/C++ application and the catch is that we don't have the source for a number of big 3rd commercial C++ libraries that we need to link against. These libs are built on rhel4 ...

How to invoke math functions from dbx?

299 byte By DieterRupperta at 2007-11-27 10:29:25
<p>Is there an easy way to invoke math functions from dbx? If I try, for example, to call sqrt I get meaningless results:</p><p>(dbx) print sqrt(4.0) </p><p>sqrt(4) = 1074790400</p><p>(dbx) </p><p>This is from code which uses sqrt, so sqrt should be accessible. Does this need some kind of cast?</p>

Can you introduce an IDE debug tool for me?

236 byte By hupo1982a at 2007-11-27 10:29:54
<p>I will debug my project under Solaris OS, my project is a big one. I debuged it with DDD (Data Display Debugger) under Linux. I want to know are there an IDE debug tool under Solaris 8? Like the DDD under Linux.</p><p>Thank you !</p>

BUS ERROR PROBLEM

6886 byte By LDERa at 2007-11-27 10:31:24
Hi everyone,We encounter a problem with our software that coredumps from time to time, especially at high activity peaks or after having run for some timeWe recently recompiled a part of this software with SunStudio 8 (CC5.5) (no changes made to the source code)We were previously working with Sun ...

Java Studio Enterprise 8.1 and jdk1.6 - cannot find symbol

1260 byte By dimka71a at 2007-11-27 10:31:40
Hi,I am using subj. The problem I have is that I declared 2-3 classes with methods in one package. I made an object of the class and use intellisense to navigate to the method I need but when I try to compile the code I have "cannot find symbol" error on the method I intellisensed to. It seems to ...

Is there a 64-bit version of the CC compiler itself?

1205 byte By sjgilbertza at 2007-11-27 10:32:43
Hello,We have a large (~4k lines) .cpp file which brings in a very large number of templates. On our v440 we see the compiler using more and more memory until it reaches 2Gb when it falls over with the message"Insufficient memory is available for compilation to continue."sun02% uname -aSunOS sun02 ...

Installation problem: "Attach to native process failed"

838 byte By Joe_Krahna at 2007-11-27 10:33:05
I am installing Sun Studio 12 on a SUSE Linux Enterprise Server 10 (ia64), and get the error "Attach to native process failed". I found that the installer script is using the default java executable, which seems to be causing the problem. If I edit the install script to use ...

Problem with CachedRowSetDataProvider.java from Netbeans 5.5

5793 byte By jsfNewbiea at 2007-11-27 10:33:51
Greetings jsf developers,I created a program to read some files and writing the data output into a file. The main purpose of this program is to generate a set of data (reading from multiple files) and saving it into a new table. When I ran the program over and over in order to generate some set of ...

question of inline assembly

840 byte By netexa at 2007-11-27 10:34:21
I'm on Solaris 10 x86 on an AMD64 system.The following code:== 1.c ==int main(){ int i; for(i=0;i<5;++i)__asm ("pause");}cannot pass -fast compiler option. Actually, it cannot pass optimization level > 2, i.e., it passes -O2, but cannot pass -O3/4/5.$ cc -fast -o 1 1.c"1.c", [main]:ube: error: ...